Skip to content

Commit 1689877

Browse files
committed
[test] clean-up
1 parent 1fc8f89 commit 1689877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pkg/integration/apis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func (c *ComponentAPI) GetUserId(user string) (userId string, err error) {
416416
if user == "" {
417417
row = db.QueryRow(`SELECT id FROM d_b_user WHERE NOT id = "` + gitpodBuiltinUserID + `" AND blocked = FALSE AND markedDeleted = FALSE`)
418418
} else {
419-
row = db.QueryRow("SELECT id FROM d_b_user WHERE name = ?", user)
419+
row = db.QueryRow("SELECT id FROM d_b_user WHERE name = ? AND blocked != 1 and markedDeleted != 1", user)
420420
}
421421

422422
var id string

0 commit comments

Comments
 (0)