summaryrefslogtreecommitdiffstats
path: root/test/functional/admin/administratorActionsTest.php
blob: 3084fb376cd11e959e8f2d288750221c41b1e558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');

// create a new test browser
$browser = new sfTestBrowser();
$browser->initialize();

$browser->
  get('/administrator/index')->
  isStatusCode(200)->
  isRequestParameter('module', 'administrator')->
  isRequestParameter('action', 'index')->
  checkResponseElement('body', '!/This is a temporary page/')
;