test blotter denial

This commit is contained in:
Shish 2010-02-18 16:22:10 +00:00
parent 54b398d08e
commit 7683d23df8

View file

@ -7,6 +7,15 @@ class BlotterTest extends SCoreWebTestCase {
$this->log_out();
}
function testDenial() {
$this->get_page("blotter/editor");
$this->assert_response(503);
$this->get_page("blotter/add");
$this->assert_response(503);
$this->get_page("blotter/remove");
$this->assert_response(503);
}
function testAddViewRemove() {
$this->log_in_as_admin();