source:
pro-violet-viettel/sourcecode/api.violet.vn/www/test/functional/platform/userActionsTest.php
Last change on this file was 289, checked in by dungnv, 11 years ago | |
---|---|
File size: 359 bytes |
Rev | Line | |
---|---|---|
[289] | 1 | <?php |
2 | ||
3 | include(dirname(__FILE__).'/../../bootstrap/functional.php'); | |
4 | ||
5 | // create a new test browser | |
6 | $browser = new sfTestBrowser(); | |
7 | $browser->initialize(); | |
8 | ||
9 | $browser-> | |
10 | get('/user/index')-> | |
11 | isStatusCode(200)-> | |
12 | isRequestParameter('module', 'user')-> | |
13 | isRequestParameter('action', 'index')-> | |
14 | checkResponseElement('body', '!/This is a temporary page/') | |
15 | ; |
Note: See TracBrowser
for help on using the repository browser.