mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: TestCRDB_CreateInstance (#6522)
This commit is contained in:
parent
8c444a8442
commit
856d0d12e8
@ -651,7 +651,7 @@ func TestCRDB_CreateInstance(t *testing.T) {
|
||||
t.Errorf("CRDB.CreateInstance() error = %v, wantErr %v", err, tt.res.wantErr)
|
||||
}
|
||||
|
||||
sequenceRow := testCRDBClient.QueryRow("SELECT EXISTS(SELECT 1 FROM [SHOW SEQUENCES FROM eventstore] WHERE sequence_name like $1)", "i_"+tt.args.instanceID+"%")
|
||||
sequenceRow := testCRDBClient.QueryRow("SELECT EXISTS(SELECT 1 FROM [SHOW SEQUENCES] WHERE sequence_schema = 'eventstore' AND sequence_name like $1)", "i_"+tt.args.instanceID+"%")
|
||||
var exists bool
|
||||
err := sequenceRow.Scan(&exists)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user