From aec59f2da6c16501109769fcd44393de08f915dc Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 14 Feb 2024 12:27:42 -0800 Subject: [PATCH] Update assertion to be more correct --- tests/Feature/Checkins/AssetCheckinTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()