App: NewLocAppError -> NewAppError (#7327)

* App: NewLocAppError -> NewAppError

* Remove statuscode that got missed.
This commit is contained in:
George Goldberg
2017-09-01 16:42:02 +01:00
committed by Harrison Healey
parent d9ec7d9240
commit e85b5fb988
18 changed files with 149 additions and 163 deletions

View File

@@ -265,7 +265,7 @@ func TestEmailTest(t *testing.T) {
_, resp = th.SystemAdminClient.TestEmail()
CheckErrorMessage(t, resp, "api.admin.test_email.missing_server")
CheckInternalErrorStatus(t, resp)
CheckBadRequestStatus(t, resp)
}
func TestDatabaseRecycle(t *testing.T) {