A free open source IT asset/license management system
Fix flaky test
Marcus Moore1f7d4e07931b
diff --git a/tests/Feature/Importing/Api/ImportAssetModelsTest.php b/tests/Feature/Importing/Api/ImportAssetModelsTest.phpindex f1af2ad34a..a3a0a9ca4d 100644--- a/tests/Feature/Importing/Api/ImportAssetModelsTest.php+++ b/tests/Feature/Importing/Api/ImportAssetModelsTest.php@@ -132,8 +132,8 @@ class ImportAssetModelsTest extends ImportDataTestCase implements TestsPermissio$this->assertEquals($row['model_number'], $updatedAssetmodel->model_number);$this->assertEquals(- Arr::except($assetmodel->attributesToArray(), $updatedAttributes),- Arr::except($updatedAssetmodel->attributesToArray(), $updatedAttributes),+ Arr::except($assetmodel->attributesToArray(), array_merge($updatedAttributes, $assetmodel->getDates())),+ Arr::except($updatedAssetmodel->attributesToArray(), array_merge($updatedAttributes, $assetmodel->getDates())),);}