Skip to content

Commit c6d05fd

Browse files
vijaythecoderclaude
andcommitted
Remove auth-related tests and update remaining tests
- Delete all Auth test files - Delete Settings test files (Password, Profile) - Update DashboardTest to work without authentication - Add test for realtime-agent accessibility Co-Authored-By: Claude <[email protected]>
1 parent e268d40 commit c6d05fd

8 files changed

+4
-348
lines changed

tests/Feature/Auth/AuthenticationTest.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

tests/Feature/Auth/EmailVerificationTest.php

Lines changed: 0 additions & 48 deletions
This file was deleted.

tests/Feature/Auth/PasswordConfirmationTest.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

tests/Feature/Auth/PasswordResetTest.php

Lines changed: 0 additions & 62 deletions
This file was deleted.

tests/Feature/Auth/RegistrationTest.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/Feature/DashboardTest.php

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
<?php
22

3-
use App\Models\User;
4-
5-
uses(\Illuminate\Foundation\Testing\RefreshDatabase::class);
6-
7-
test('guests are redirected to the login page', function () {
3+
test('dashboard page is accessible', function () {
84
$response = $this->get('/dashboard');
9-
$response->assertRedirect('/login');
5+
$response->assertStatus(200);
106
});
117

12-
test('authenticated users can visit the dashboard', function () {
13-
$user = User::factory()->create();
14-
$this->actingAs($user);
15-
16-
$response = $this->get('/dashboard');
8+
test('realtime agent page is accessible', function () {
9+
$response = $this->get('/realtime-agent');
1710
$response->assertStatus(200);
1811
});

tests/Feature/Settings/PasswordUpdateTest.php

Lines changed: 0 additions & 42 deletions
This file was deleted.

tests/Feature/Settings/ProfileUpdateTest.php

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)