mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 13:37:35 +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)
|
||||
|
||||
// had to minus 1 second due to a race conditon
|
||||
beforeUpdate := time.Now().Add(-time.Second)
|
||||
beforeUpdate := time.Now()
|
||||
// update name
|
||||
newName := "new_" + instance.Name
|
||||
rowsAffected, err := instanceRepo.Update(ctx,
|
||||
@@ -491,6 +490,7 @@ func TestListInstance(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
// ctx := context.Background()
|
||||
t.Cleanup(func() {
|
||||
//nolint
|
||||
pool.Exec(ctx, "DELETE FROM zitadel.instances")
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user