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
+5
View File
@@ -54,6 +54,10 @@ class AuthTest extends TestCase
'name' => 'registration',
'value' => 1,
],
[
'name' => 'user_verification',
'value' => 1,
]
])->each(function ($setting) {
Setting::create([
'name' => $setting['name'],
@@ -70,6 +74,7 @@ class AuthTest extends TestCase
$this->assertDatabaseHas('users', [
'email' => 'john@doe.com',
'email_verified_at' => null,
]);
$this->assertDatabaseHas('user_settings', [