chore: update error names

This commit is contained in:
2024-09-27 11:22:32 +02:00
committed by Tim Wundenberg
parent 7e8730206c
commit 5d479b0811
5 changed files with 15 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ func TestGetUser(t *testing.T) {
underTest := DbAuthSqlite{db: db}
_, err := underTest.GetUser("someNonExistentEmail")
if err != UserNotFound {
if err != ErrUserNotFound {
t.Errorf("Expected UserNotFound, got %v", err)
}
})