mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Fix error in admin
This commit is contained in:
@@ -150,8 +150,6 @@ class AdminUserControllerTest extends TestCase
|
||||
|
||||
public function test_admin_can_bulk_resend_verification_email_to_not_verified_users(): void
|
||||
{
|
||||
Notification::fake();
|
||||
|
||||
$admin = $this->createUserWithRole('Admin', false);
|
||||
$unverifiedUser = $this->createUserWithRole('User', true);
|
||||
$alreadyVerifiedUser = $this->createUserWithRole('User', true);
|
||||
@@ -161,6 +159,8 @@ class AdminUserControllerTest extends TestCase
|
||||
'email_verified_at' => null,
|
||||
])->save();
|
||||
|
||||
Notification::fake();
|
||||
|
||||
$response = $this->actingAs($admin)->post(route('admin.user-list.bulk'), [
|
||||
'action' => 'resend_verification',
|
||||
'user_ids' => [$unverifiedUser->id, $alreadyVerifiedUser->id],
|
||||
|
||||
Reference in New Issue
Block a user