A free open source IT asset/license management system
fix test :(
spencerrlongge79111fed56d
diff --git a/tests/Feature/Assets/Api/UpdateAssetTest.php b/tests/Feature/Assets/Api/UpdateAssetTest.phpindex ce8405b7db..f890af5b1f 100644--- a/tests/Feature/Assets/Api/UpdateAssetTest.php+++ b/tests/Feature/Assets/Api/UpdateAssetTest.php@@ -99,7 +99,8 @@ class UpdateAssetTest extends TestCase$this->assertTrue($updatedAsset->assetstatus->is($status));$this->assertTrue($updatedAsset->supplier->is($supplier));$this->assertEquals(10, $updatedAsset->warranty_months);- $this->assertEquals('2023-09-03 00:00:00', $updatedAsset->last_audit_date->format('Y-m-d H:i:s'));+ //$this->assertEquals('2023-09-03 00:00:00', $updatedAsset->last_audit_date->format('Y-m-d H:i:s'));+ $this->assertEquals('2023-09-03 00:00:00', $updatedAsset->last_audit_date);}public function testAssetEolDateIsCalculatedIfPurchaseDateUpdated()