| changeset 34 | 21fab44f46fe |
| parent 30 | d2fba1e3b94b |
| child 35 | 92ddb5488eb4 |
| 30:d2fba1e3b94b | 34:21fab44f46fe |
|---|---|
1 <?php |
|
2 |
|
3 namespace IRI\Bundle\WikiTagBundle\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 } |