Fix flaky test
This commit is contained in:
parent
e17fae02ad
commit
1f7d4e0793
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ class ImportAssetModelsTest extends ImportDataTestCase implements TestsPermissio
|
||||||
$this->assertEquals($row['model_number'], $updatedAssetmodel->model_number);
|
$this->assertEquals($row['model_number'], $updatedAssetmodel->model_number);
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
Arr::except($assetmodel->attributesToArray(), $updatedAttributes),
|
Arr::except($assetmodel->attributesToArray(), array_merge($updatedAttributes, $assetmodel->getDates())),
|
||||||
Arr::except($updatedAssetmodel->attributesToArray(), $updatedAttributes),
|
Arr::except($updatedAssetmodel->attributesToArray(), array_merge($updatedAttributes, $assetmodel->getDates())),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue