1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/website/test/functional/frontend/api_documentationActionsTest.php
2007-08-31 23:41:48 +00:00

16 lines
385 B
PHP

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