From 18fdb2669ac587beb671380ee31b711a5e669a8a Mon Sep 17 00:00:00 2001 From: Master Yoda Date: Thu, 5 Jul 2018 10:55:38 -0700 Subject: [PATCH] Looking for travis exit problem --- tests/system/Test/FeatureTestCaseTest.php | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) 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([