mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 19:56:40 +00:00
fixup! fixup! fixup! fixup! Merge branch 'clean-transactional-propsal' into instance_table
This commit is contained in:
@@ -219,8 +219,7 @@ func TestUpdateInstance(t *testing.T) {
|
|||||||
|
|
||||||
instance := tt.testFunc(ctx, t)
|
instance := tt.testFunc(ctx, t)
|
||||||
|
|
||||||
// had to minus 1 second due to a race conditon
|
beforeUpdate := time.Now()
|
||||||
beforeUpdate := time.Now().Add(-time.Second)
|
|
||||||
// update name
|
// update name
|
||||||
newName := "new_" + instance.Name
|
newName := "new_" + instance.Name
|
||||||
rowsAffected, err := instanceRepo.Update(ctx,
|
rowsAffected, err := instanceRepo.Update(ctx,
|
||||||
@@ -491,6 +490,7 @@ func TestListInstance(t *testing.T) {
|
|||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
// ctx := context.Background()
|
// ctx := context.Background()
|
||||||
t.Cleanup(func() {
|
t.Cleanup(func() {
|
||||||
|
//nolint
|
||||||
pool.Exec(ctx, "DELETE FROM zitadel.instances")
|
pool.Exec(ctx, "DELETE FROM zitadel.instances")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user