diff --git a/management/server/account_test.go b/management/server/account_test.go index 81ed25fe4..0bae94d11 100644 --- a/management/server/account_test.go +++ b/management/server/account_test.go @@ -80,6 +80,9 @@ func TestAccountManager_GetOrCreateAccount(t *testing.T) { t.Errorf("expected to get existing account after creation, failed") } + if account.Id != expectedId { + t.Fatalf("expected to create an account, got wrong account") + } } func TestAccountManager_AccountExists(t *testing.T) {