Skip to content
Snippets Groups Projects
Commit 81aefdda authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Add a test for the 403 screen.

issue #835
parent 591c3404
No related branches found
No related tags found
No related merge requests found
......@@ -76,4 +76,17 @@
ok($("#error_503").length, "503 header is shown");
});
test("XHR 403 (Forbidden) error - show the 403, cookies required error", function() {
var el = $("#error .contents");
el.empty();
screens.error.show("error", {
network: {
status: 403
}
});
ok($("#error_403").length, "403 header is shown");
});
}());
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment