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:
21
data/symfony/skeleton/module/module/actions/actions.class.php
Executable file
21
data/symfony/skeleton/module/module/actions/actions.class.php
Executable file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* ##MODULE_NAME## actions.
|
||||
*
|
||||
* @package ##PROJECT_NAME##
|
||||
* @subpackage ##MODULE_NAME##
|
||||
* @author ##AUTHOR_NAME##
|
||||
* @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
|
||||
*/
|
||||
class ##MODULE_NAME##Actions extends sfActions
|
||||
{
|
||||
/**
|
||||
* Executes index action
|
||||
*
|
||||
*/
|
||||
public function executeIndex()
|
||||
{
|
||||
$this->forward('default', 'module');
|
||||
}
|
||||
}
|
0
data/symfony/skeleton/module/module/config/.sf
Executable file
0
data/symfony/skeleton/module/module/config/.sf
Executable file
0
data/symfony/skeleton/module/module/lib/.sf
Executable file
0
data/symfony/skeleton/module/module/lib/.sf
Executable file
0
data/symfony/skeleton/module/module/templates/indexSuccess.php
Executable file
0
data/symfony/skeleton/module/module/templates/indexSuccess.php
Executable file
0
data/symfony/skeleton/module/module/validate/.sf
Executable file
0
data/symfony/skeleton/module/module/validate/.sf
Executable file
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