1
0
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:
Aaron L
2018-02-01 11:51:43 -08:00
parent 2db3a3f782
commit cbfc1d8388
12 changed files with 44 additions and 512 deletions

View File

@ -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))
}