Fix wrong status in error

Doesn't matter for test result, but should be error since we return 500
This commit is contained in:
Łukasz Mierzwa
2017-08-17 19:33:16 -07:00
parent f96cafca7b
commit 3124049c5a

View File

@@ -157,7 +157,7 @@ test("failed sendSilencePOST()", () => {
templates.init();
const ajaxServer = ajaxMock.createServer(500, {
"status": "success",
"status": "error",
"errorType": "server_error",
"error": "request failed"
});