From 4fb349e3269390c2a88478734b244e433957b927 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 6 Nov 2023 14:04:52 -0800 Subject: [PATCH] Remove extra assertions --- tests/Feature/Checkouts/LicenseCheckoutTest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/Feature/Checkouts/LicenseCheckoutTest.php b/tests/Feature/Checkouts/LicenseCheckoutTest.php index c1529355bf..978fac28f2 100644 --- a/tests/Feature/Checkouts/LicenseCheckoutTest.php +++ b/tests/Feature/Checkouts/LicenseCheckoutTest.php @@ -2,7 +2,6 @@ namespace Tests\Feature\Checkouts; -use App\Models\Actionlog; use App\Models\Asset; use App\Models\License; use App\Models\LicenseSeat; @@ -26,8 +25,7 @@ class LicenseCheckoutTest extends TestCase 'assigned_to' => null, 'asset_id' => $asset->id, 'notes' => 'oh hi there', - ]) - ->assertRedirect(); + ]); $this->assertDatabaseHas('action_logs', [ 'action_type' => 'checkout', @@ -50,8 +48,7 @@ class LicenseCheckoutTest extends TestCase 'assigned_to' => $admin->id, 'asset_id' => null, 'notes' => 'oh hi there', - ]) - ->assertRedirect(); + ]); $this->assertDatabaseHas('action_logs', [ 'action_type' => 'checkout',