Skip to content

Commit 45f71d1

Browse files
committed
update users in TestDeeplyNestedTransactionWithBlockAndWrappedCallback
1 parent 2161172 commit 45f71d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/transaction_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ func TestDeeplyNestedTransactionWithBlockAndWrappedCallback(t *testing.T) {
346346
})
347347
}
348348
var (
349-
user = *GetUser(uniqueName("transaction-nested"), Config{})
350-
user1 = *GetUser(uniqueName("transaction-nested-1"), Config{})
351-
user2 = *GetUser(uniqueName("transaction-nested"), Config{})
349+
user = *GetUser("deep-nested-transaction", Config{})
350+
user1 = *GetUser("deep-nested--transaction-1", Config{})
351+
user2 = *GetUser("deep-nested--transaction-2", Config{})
352352
)
353353

354354
if err := transaction(context.Background(), DB, func(ctx context.Context, tx *gorm.DB) error {

0 commit comments

Comments
 (0)