go(user_test): add explicit FailNow()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-06-04 11:38:56 +02:00
parent ce383b5818
commit 416012f80f
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -21,7 +21,8 @@ func TestUserExists(t *testing.T) {
defer db.Close() defer db.Close()
if err := db.Schema.Create(context.Background()); err != nil { if err := db.Schema.Create(context.Background()); err != nil {
t.Fatalf("failed creating schema resources: %v", err) t.Errorf("failed to create schema resources: %v", err)
t.FailNow()
} }
username := "dude" username := "dude"