From 3159fdec9fa7a9c93a1569b034016fb17c6a965d Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 12 Jun 2024 12:40:43 +0100 Subject: [PATCH] FFS Signed-off-by: snipe --- tests/Feature/Users/Ui/DeleteUserTest.php | 8 -------- 1 file changed, 8 deletions(-) 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); - }