update tests for the user email verification

This commit is contained in:
Milos Holba
2021-05-22 16:01:25 +02:00
parent fd7a23225c
commit a7e26cb61f
5 changed files with 18 additions and 7 deletions

View File

@@ -308,6 +308,9 @@ class AdminTest extends TestCase
'email' => 'john@doe.com'
]);
$this->assertNotNull(User::whereEmail('john@doe.com')
->get('email_verified_at'));
$this->assertDatabaseHas('user_settings', [
'name' => 'John Doe'
]);