mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
create new register route(Laravel) , create new email successfully verified route(Vue)
This commit is contained in:
@@ -65,7 +65,7 @@ class AuthTest extends TestCase
|
||||
]);
|
||||
});
|
||||
|
||||
$this->postJson('/register', [
|
||||
$this->postJson('api/register', [
|
||||
'email' => 'john@doe.com',
|
||||
'password' => 'SecretPassword',
|
||||
'password_confirmation' => 'SecretPassword',
|
||||
|
||||
@@ -279,7 +279,7 @@ class UserAccountTest extends TestCase
|
||||
|
||||
$response = $this->getJson($verificationUrl);
|
||||
|
||||
$response->assertRedirect('sign-in');
|
||||
$response->assertRedirect('successfully-verified');
|
||||
|
||||
$this->assertNotNull(User::find($user->id)->get('email_verified_at'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user