Skip to content

Commit

Permalink
Output if setup key already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Jan 30, 2025
1 parent 771c99a commit 1bffb11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions management/server/store/sql_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ func runLargeTest(t *testing.T, store Store) {
account.NameServerGroups[nameserver.ID] = nameserver

setupKey, _ := types.GenerateDefaultSetupKey()
if _, ok := account.SetupKeys[setupKey.Key]; ok {
t.Errorf("setup key %s already exists", setupKey.Key)
}
account.SetupKeys[setupKey.Key] = setupKey
}

Expand Down

0 comments on commit 1bffb11

Please sign in to comment.