source:
PSPA/PSPA/TransportBundle/Tests/Controller/DefaultControllerTest.php
@
1
Last change on this file since 1 was 1, checked in by , 12 years ago | |
---|---|
File size: 403 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | namespace PSPA\TransportBundle\Tests\Controller; |
4 | |
5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
6 | |
7 | class DefaultControllerTest extends WebTestCase |
8 | { |
9 | public function testIndex() |
10 | { |
11 | $client = static::createClient(); |
12 | |
13 | $crawler = $client->request('GET', '/hello/Fabien'); |
14 | |
15 | $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); |
16 | } |
17 | } |
Note: See TracBrowser
for help on using the repository browser.