Skip to content

A free open source IT asset/license management system

Update assertion to be more correct

Marcus Mooreaec59f2da6c1
diff --git a/tests/Feature/Checkins/AssetCheckinTest.php b/tests/Feature/Checkins/AssetCheckinTest.php
index ad4d9074b7..fb60b61fce 100644
--- a/tests/Feature/Checkins/AssetCheckinTest.php
+++ b/tests/Feature/Checkins/AssetCheckinTest.php
@@ -125,7 +125,7 @@ class AssetCheckinTest extends TestCase
->post(route('hardware.checkin.store', ['assetId' => $asset->id]));
$this->assertNull($asset->refresh()->rtd_location_id);
- $this->assertNull($asset->location_id);
+ $this->assertEquals($asset->location_id, $asset->rtd_location_id);
}
public function testPendingCheckoutAcceptancesAreClearedUponCheckin()