Browse Source

fix example test

Taylor Otwell 7 years ago
parent
commit
b64d1e3dc8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tests/Feature/ExampleTest.php

+ 3 - 2
tests/Feature/ExampleTest.php

@@ -16,7 +16,8 @@ class ExampleTest extends TestCase
      */
     public function testBasicTest()
     {
-        $this->visit('/')
-             ->see('Laravel');
+        $response = $this->get('/');
+
+        $response->assertHasStatus(200);
     }
 }