chore: update error names
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 46s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 46s
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user