admin()->create(); $this->actingAs($admin) ->get("/vacation/monthly-usage") ->assertOk(); } public function testEmployeeCannotSeeVacationsMonthlyUsage(): void { $user = User::factory()->create(); $this->actingAs($user) ->get("/vacation/monthly-usage") ->assertForbidden(); } }