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:
@ -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())),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user