mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove extra assertions
This commit is contained in:
parent
4d2790c3f4
commit
4fb349e326
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue