summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-09-01 16:42:02 +0100
committerHarrison Healey <harrisonmhealey@gmail.com>2017-09-01 11:42:02 -0400
commite85b5fb98835fb952eb2ed55f81e79eb3ef361ec (patch)
treeabe78804cd5e1175954f74b811a6d6a7af089d0b /api4/system_test.go
parentd9ec7d9240a508571904c22458222e2846c2b5b4 (diff)
downloadchat-e85b5fb98835fb952eb2ed55f81e79eb3ef361ec.tar.gz
chat-e85b5fb98835fb952eb2ed55f81e79eb3ef361ec.tar.bz2
chat-e85b5fb98835fb952eb2ed55f81e79eb3ef361ec.zip
App: NewLocAppError -> NewAppError (#7327)
* App: NewLocAppError -> NewAppError * Remove statuscode that got missed.
Diffstat (limited to 'api4/system_test.go')
-rw-r--r--api4/system_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/system_test.go b/api4/system_test.go
index 004f94f96..0d8b3cec8 100644
--- a/api4/system_test.go
+++ b/api4/system_test.go
@@ -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) {