From 11b869f28eb608defeea4476f1a1129d279a5efc Mon Sep 17 00:00:00 2001 From: Klaus Silveira Date: Wed, 25 Jul 2012 11:46:20 -0300 Subject: [PATCH] First functional test for interface --- tests/InterfaceTest.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/InterfaceTest.php diff --git a/tests/InterfaceTest.php b/tests/InterfaceTest.php new file mode 100644 index 0000000..23797ab --- /dev/null +++ b/tests/InterfaceTest.php @@ -0,0 +1,24 @@ +createClient(); + $crawler = $client->request('GET', '/'); + + $this->assertTrue($client->getResponse()->isOk()); + $this->assertCount(1, $crawler->filter('title:contains("Gitlist")')); + } +} \ No newline at end of file