Mercurial > hg > dml-open-vis
comparison src/DML/MainVisBundle/Tests/Controller/DefaultControllerTest.php @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:493bcb69166c |
---|---|
1 <?php | |
2 | |
3 namespace DML\MainVisBundle\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 } |