chore: update error names
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 46s

This commit is contained in:
2024-09-27 11:22:32 +02:00
parent 93baa9d740
commit 42d3f56729
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)
}
})