summaryrefslogtreecommitdiff
path: root/internal/user
diff options
context:
space:
mode:
Diffstat (limited to 'internal/user')
-rw-r--r--internal/user/service_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/user/service_test.go b/internal/user/service_test.go
index 8c724ff..f3dcfd6 100644
--- a/internal/user/service_test.go
+++ b/internal/user/service_test.go
@@ -106,7 +106,7 @@ func TestSuccessfulRegister(t *testing.T) {
}
usr, err := s.Register(in)
if err != nil {
- t.Errorf("register with good input failed: %+v", in)
+ t.Fatalf("register with good input failed: %+v", in)
}
err = bcrypt.CompareHashAndPassword([]byte(usr.passwordHash), []byte(in.Password))