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/WallabagBundle/Tests/Controller/DefaultControllerTest.php (limited to 'src/WallabagBundle/Tests') diff --git a/src/WallabagBundle/Tests/Controller/DefaultControllerTest.php b/src/WallabagBundle/Tests/Controller/DefaultControllerTest.php new file mode 100644 index 00000000..e9022438 --- /dev/null +++ b/src/WallabagBundle/Tests/Controller/DefaultControllerTest.php @@ -0,0 +1,18 @@ +request('GET', '/app/index'); + + $this->assertEquals(200, $client->getResponse()->getStatusCode()); + $this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0); + } +} -- cgit v1.2.3