Skip to content

A free open source IT asset/license management system

Fixed tests

snipe9dbb4abe7ed7
diff --git a/tests/Feature/Api/Assets/AssetCheckinTest.php b/tests/Feature/Api/Assets/AssetCheckinTest.php
index 27d5e6de80..6f8daf5691 100644
--- a/tests/Feature/Api/Assets/AssetCheckinTest.php
+++ b/tests/Feature/Api/Assets/AssetCheckinTest.php
@@ -66,8 +66,6 @@ class AssetCheckinTest extends TestCase
$this->assertNull($asset->refresh()->assignedTo);
$this->assertNull($asset->expected_checkin);
- $this->assertNull($asset->last_checkout);
- $this->assertNotNull($asset->last_checkin);
$this->assertNull($asset->assignedTo);
$this->assertNull($asset->assigned_type);
$this->assertNull($asset->accepted);
diff --git a/tests/Feature/Checkins/AssetCheckinTest.php b/tests/Feature/Checkins/AssetCheckinTest.php
index a8e26312be..fb6d21a6ac 100644
--- a/tests/Feature/Checkins/AssetCheckinTest.php
+++ b/tests/Feature/Checkins/AssetCheckinTest.php
@@ -65,7 +65,6 @@ class AssetCheckinTest extends TestCase
$this->assertNull($asset->refresh()->assignedTo);
$this->assertNull($asset->expected_checkin);
- $this->assertNull($asset->last_checkout);
$this->assertNotNull($asset->last_checkin);
$this->assertNull($asset->assignedTo);
$this->assertNull($asset->assigned_type);