3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 21:35:34 +00:00

Fix flaky test

This commit is contained in:
Marcus Moore
2025-04-21 15:14:53 -07:00
parent e17fae02ad
commit 1f7d4e0793

View File

@ -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())),
);
}