Update
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
]);
|
||||
|
||||
$this->assertAuthenticated();
|
||||
$response->assertRedirect(route('dashboard', absolute: false));
|
||||
$response->assertRedirect(route(config('platform.general.authed_route_redirect'), absolute: false));
|
||||
});
|
||||
|
||||
test('users can not authenticate with invalid password', function () {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
Event::assertDispatched(Verified::class);
|
||||
expect($user->fresh()->hasVerifiedEmail())->toBeTrue();
|
||||
$response->assertRedirect(route('dashboard', absolute: false).'?verified=1');
|
||||
$response->assertRedirect(route(config('platform.general.authed_route_redirect'), absolute: false) . '?verified=1');
|
||||
});
|
||||
|
||||
test('email is not verified with invalid hash', function () {
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
]);
|
||||
|
||||
$this->assertAuthenticated();
|
||||
$response->assertRedirect(route('dashboard', absolute: false));
|
||||
$response->assertRedirect(route(config('platform.general.authed_route_redirect'), absolute: false));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user