mirror of
https://github.com/volatiletech/authboss.git
synced 2025-07-15 01:24:33 +02:00
Fix authboss core tests
- Delete callbacks tests - Remove some useless code (SendMail), as well as some extra arguments in certain functions that didn't require them. - Remove tests for more code that has been moved to default implementations
This commit is contained in:
@ -51,7 +51,7 @@ func TestErrorList_Map(t *testing.T) {
|
||||
t.Error("Wrong number of fields:", len(m))
|
||||
}
|
||||
|
||||
usernameErrs := m["email"]
|
||||
usernameErrs := m["username"]
|
||||
if len(usernameErrs) != 2 {
|
||||
t.Error("Wrong number of username errors:", len(usernameErrs))
|
||||
}
|
||||
|
Reference in New Issue
Block a user