diff --git a/tests/system/Test/FeatureTestCaseTest.php b/tests/system/Test/FeatureTestCaseTest.php index 89f4395f6d..a2c318ef0d 100644 --- a/tests/system/Test/FeatureTestCaseTest.php +++ b/tests/system/Test/FeatureTestCaseTest.php @@ -16,6 +16,19 @@ class FeatureTestCaseTest extends FeatureTestCase $this->skipEvents(); } + public function testCallGet() + { + $this->withRoutes([ + ['get', 'home', function() { + return 'Hello World'; + }] + ]); + $response = $this->get('home'); + + $response->assertSee('Hello World'); + $response->assertDontSee('Again'); + } + public function testCallSimpleGet() { $this->withRoutes([ @@ -32,19 +45,6 @@ class FeatureTestCaseTest extends FeatureTestCase $this->assertEquals(200, $response->response->getStatusCode()); } - public function testCallGet() - { - $this->withRoutes([ - ['get', 'home', function() { - return 'Hello World'; - }] - ]); - $response = $this->get('home'); - - $response->assertSee('Hello World'); - $response->assertDontSee('Again'); - } - public function testCallPost() { $this->withRoutes([