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