1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/website/test/functional/frontend/api_documentationActionsTest.php

16 lines
385 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('/api_documentation/index')->
isStatusCode(200)->
isRequestParameter('module', 'api_documentation')->
isRequestParameter('action', 'index')->
checkResponseElement('body', '!/This is a temporary page/')
;