1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/website/test/functional/frontend/mainActionsTest.php

16 lines
359 B
PHP
Raw Normal View History

2007-09-01 03:41:48 +04:00
<?php
include(dirname(__FILE__).'/../../bootstrap/functional.php');
// create a new test browser
$browser = new sfTestBrowser();
$browser->initialize();
$browser->
get('/main/index')->
isStatusCode(200)->
isRequestParameter('module', 'main')->
isRequestParameter('action', 'index')->
checkResponseElement('body', '!/This is a temporary page/')
;