Skip to content

A free open source IT asset/license management system

Add note

Marcus Moore504f63066fa7
diff --git a/tests/Feature/LicenseSeats/Api/LicenseSeatUpdateTest.php b/tests/Feature/LicenseSeats/Api/LicenseSeatUpdateTest.php
index 97612e214a..96eb0dfa21 100644
--- a/tests/Feature/LicenseSeats/Api/LicenseSeatUpdateTest.php
+++ b/tests/Feature/LicenseSeats/Api/LicenseSeatUpdateTest.php
@@ -224,7 +224,10 @@ class LicenseSeatUpdateTest extends TestCase
public function test_license_seat_can_be_checked_in_when_updating()
{
- $licenseSeat = LicenseSeat::factory()->unreassignable()->assignedToUser()->create();
+ $licenseSeat = LicenseSeat::factory()->unreassignable()->assignedToUser()->create([
+ // this will be updated to true upon checkin...
+ 'unreassignable_seat' => false,
+ ]);
$this->actingAsForApi(User::factory()->superuser()->create())
->patchJson($this->route($licenseSeat), [