mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Update assertion to be more correct
This commit is contained in:
parent
905df5ec25
commit
aec59f2da6
|
@ -125,7 +125,7 @@ class AssetCheckinTest extends TestCase
|
||||||
->post(route('hardware.checkin.store', ['assetId' => $asset->id]));
|
->post(route('hardware.checkin.store', ['assetId' => $asset->id]));
|
||||||
|
|
||||||
$this->assertNull($asset->refresh()->rtd_location_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()
|
public function testPendingCheckoutAcceptancesAreClearedUponCheckin()
|
||||||
|
|
Loading…
Reference in a new issue