diff --git a/tests/Feature/Users/Ui/DeleteUserTest.php b/tests/Feature/Users/Ui/DeleteUserTest.php index a560dc8b6a..61ee233795 100644 --- a/tests/Feature/Users/Ui/DeleteUserTest.php +++ b/tests/Feature/Users/Ui/DeleteUserTest.php @@ -34,14 +34,6 @@ class DeleteUserTest extends TestCase ->assertStatus(302) ->assertRedirect(route('users.index')); - $this->actingAs($superuser) - ->post(route('users.email', ['userId' => $userFromA->id])) - ->assertStatus(302); - - $this->actingAs($superuser) - ->post(route('users.email', ['userId' => $userFromB->id])) - ->assertStatus(302); - }