summaryrefslogtreecommitdiffstats
path: root/test/functional/admin/mailboxActionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/admin/mailboxActionsTest.php')
-rw-r--r--test/functional/admin/mailboxActionsTest.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/functional/admin/mailboxActionsTest.php b/test/functional/admin/mailboxActionsTest.php
new file mode 100644
index 0000000..42bf697
--- /dev/null
+++ b/test/functional/admin/mailboxActionsTest.php
@@ -0,0 +1,15 @@
+<?php
+
+include(dirname(__FILE__).'/../../bootstrap/functional.php');
+
+// create a new test browser
+$browser = new sfTestBrowser();
+$browser->initialize();
+
+$browser->
+ get('/mailbox/index')->
+ isStatusCode(200)->
+ isRequestParameter('module', 'mailbox')->
+ isRequestParameter('action', 'index')->
+ checkResponseElement('body', '!/This is a temporary page/')
+;