From 4312b353dbb4b448d551975b63db9c95b3eef4f5 Mon Sep 17 00:00:00 2001 From: marwolaethblack Date: Wed, 22 Nov 2017 12:37:48 +0100 Subject: initial commit --- tests/AppBundle/Controller/DefaultControllerTest.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/AppBundle/Controller/DefaultControllerTest.php (limited to 'tests/AppBundle/Controller/DefaultControllerTest.php') diff --git a/tests/AppBundle/Controller/DefaultControllerTest.php b/tests/AppBundle/Controller/DefaultControllerTest.php new file mode 100644 index 0000000..594803c --- /dev/null +++ b/tests/AppBundle/Controller/DefaultControllerTest.php @@ -0,0 +1,18 @@ +request('GET', '/'); + + $this->assertEquals(200, $client->getResponse()->getStatusCode()); + $this->assertContains('Welcome to Symfony', $crawler->filter('#container h1')->text()); + } +} -- cgit v1.2.3