mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
15
data/symfony/skeleton/module/test/actionsTest.php
Executable file
15
data/symfony/skeleton/module/test/actionsTest.php
Executable file
@ -0,0 +1,15 @@
|
||||
<?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/')
|
||||
;
|
Reference in New Issue
Block a user