source:
pro-bachkim-filespace/sourcecode/api.violet.vn/test/functional/platform/userActionsTest.php
@
19
Last change on this file since 19 was 19, checked in by dungnv, 11 years ago | |
---|---|
File size: 359 bytes |
Rev | Line | |
---|---|---|
[19] | 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.