From 93fd4692f6eb753cae16358131c8049d84cfbb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 22 Jan 2015 08:30:07 +0100 Subject: symfony is there --- .../Tests/Controller/DefaultControllerTest.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/AppBundle/Tests/Controller/DefaultControllerTest.php (limited to 'src/AppBundle/Tests/Controller/DefaultControllerTest.php') diff --git a/src/AppBundle/Tests/Controller/DefaultControllerTest.php b/src/AppBundle/Tests/Controller/DefaultControllerTest.php new file mode 100644 index 00000000..f35af752 --- /dev/null +++ b/src/AppBundle/Tests/Controller/DefaultControllerTest.php @@ -0,0 +1,18 @@ +request('GET', '/app/example'); + + $this->assertEquals(200, $client->getResponse()->getStatusCode()); + $this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0); + } +} -- cgit v1.2.3