Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test repository tenant_id query #3476

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ stop() {
}

cypress-ci() {

echo "Running cypress"


export CYPRESS_BASE_URL=http://localhost:11633
export POKEMON_HTTP_ENDPOINT=http://demo-api:8081

Expand All @@ -65,10 +63,8 @@ cypress-ci() {
}

cypress() {

echo "Running cypress"


export CYPRESS_BASE_URL=http://localhost:11633
export POKEMON_HTTP_ENDPOINT=http://demo-api:8081

Expand Down
2 changes: 1 addition & 1 deletion server/test/test_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const (
) as ltr ON ltr.test_id = t.id AND ltr.tenant_id = t.tenant_id
LEFT OUTER JOIN
test_runs last_test_run
ON last_test_run.test_id = ltr.test_id AND last_test_run.id = ltr.id
ON last_test_run.test_id = ltr.test_id AND last_test_run.id = ltr.id AND last_test_run.tenant_id = ltr.tenant_id
`

testMaxVersionQuery = `
Expand Down
Loading