Files
portal-legacy/data/symfony/skeleton/module/test/actionsTest.php
Chris Sewell cf140a2e97 initial commit
2012-11-28 03:55:08 -05:00

16 lines
381 B
PHP
Executable File

<?php
include(dirname(__FILE__).'/../../bootstrap/functional.php');
// create a new test browser
$browser = new sfTestBrowser();
$browser->initialize();
$browser->
get('/##MODULE_NAME##/index')->
isStatusCode(200)->
isRequestParameter('module', '##MODULE_NAME##')->
isRequestParameter('action', 'index')->
checkResponseElement('body', '!/This is a temporary page/')
;