File tree Expand file tree Collapse file tree 3 files changed +28
-22
lines changed
Expand file tree Collapse file tree 3 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ yarn-error.log
1212/composer.lock
1313* .env
1414/composer.phar
15+ * .env.testing
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Tests \Feature ;
4+
5+ use Illuminate \Foundation \Testing \RefreshDatabase ;
6+ use Illuminate \Foundation \Testing \WithFaker ;
7+ use Tests \TestCase ;
8+
9+ class AccessTest extends TestCase
10+ {
11+ use RefreshDatabase;
12+
13+ /**
14+ * Test landing page access
15+ *
16+ * @return void
17+ */
18+ public function test_canAccessHomepage ()
19+ {
20+ // Ensure 'about' is present to access, otherwise it will error
21+ $ this ->artisan ('add-text-pages ' );
22+
23+ $ response = $ this ->get ('/ ' );
24+
25+ $ response ->assertStatus (200 );
26+ }
27+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments