chore - Remove broken DashboardTest referencing commented-out dashboard route
This commit is contained in:
parent
3e894503fe
commit
0d322cde06
1 changed files with 0 additions and 24 deletions
|
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class DashboardTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_guests_are_redirected_to_the_login_page()
|
||||
{
|
||||
$this->get(route('dashboard'))->assertRedirect(route('login'));
|
||||
}
|
||||
|
||||
public function test_authenticated_users_can_visit_the_dashboard()
|
||||
{
|
||||
$this->actingAs($user = User::factory()->create());
|
||||
|
||||
$this->get(route('dashboard'))->assertOk();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue