Move some tests into their own subfodlers
This commit is contained in:
parent
0dd6adfa0e
commit
e1aa814d8c
18 changed files with 29 additions and 31 deletions
15
tests/Feature/Admin/AdminHomeControllerTest.php
Normal file
15
tests/Feature/Admin/AdminHomeControllerTest.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Feature\Admin;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
class AdminHomeControllerTest extends TestCase
|
||||
{
|
||||
public function test_admin_homepage()
|
||||
{
|
||||
$response = $this->withSession(['loggedin' => true])
|
||||
->get('/admin');
|
||||
$response->assertViewIs('admin.welcome');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue