From 7d07ad28ef423836146117a4025de3ab593fa1a3 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 18 Feb 2010 16:22:10 +0000 Subject: [PATCH] test blotter denial --- contrib/blotter/test.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/blotter/test.php b/contrib/blotter/test.php index 07223830..6a336265 100644 --- a/contrib/blotter/test.php +++ b/contrib/blotter/test.php @@ -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();