aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AppBundle/Tests/Controller/DefaultControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/AppBundle/Tests/Controller/DefaultControllerTest.php')
-rw-r--r--src/AppBundle/Tests/Controller/DefaultControllerTest.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/AppBundle/Tests/Controller/DefaultControllerTest.php b/src/AppBundle/Tests/Controller/DefaultControllerTest.php
deleted file mode 100644
index f35af752..00000000
--- a/src/AppBundle/Tests/Controller/DefaultControllerTest.php
+++ /dev/null
@@ -1,18 +0,0 @@
1<?php
2
3namespace AppBundle\Tests\Controller;
4
5use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6
7class DefaultControllerTest extends WebTestCase
8{
9 public function testIndex()
10 {
11 $client = static::createClient();
12
13 $crawler = $client->request('GET', '/app/example');
14
15 $this->assertEquals(200, $client->getResponse()->getStatusCode());
16 $this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0);
17 }
18}