fix(models): correct UserSetting import namespace and add test coverage
This commit is contained in:
1 parent
208efbb85d
commit
3502c3e85b
34 files changed
+2497
-2
No files matched your search
@@ -55,4 +55,13 @@ class EmailVerificationTest extends TestCase
|
||||
|
||||
$this->assertFalse($user->fresh()->hasVerifiedEmail());
|
||||
}
|
||||
|
||||
public function test_verified_user_is_redirected_from_prompt(): void
|
||||
{
|
||||
$user = User::factory()->create();
|
||||
|
||||
$response = $this->actingAs($user)->get('/verify-email');
|
||||
|
||||
$response->assertRedirect(route('dashboard', absolute: false));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user