chore - Remove broken DashboardTest referencing commented-out dashboard route

This commit is contained in:
myrmidex 2026-03-22 02:20:14 +01:00
parent 3e894503fe
commit 0d322cde06

View file

@ -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();
}
}