mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Ugh
Sorry, my local testing environment is fscked right now :( Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c5560e466e
commit
8cc9e61983
|
@ -77,6 +77,7 @@ class ApiAssetModelsCest
|
||||||
|
|
||||||
$temp_assetmodel = factory(\App\Models\AssetModel::class)->states('polycomcx-model')->make([
|
$temp_assetmodel = factory(\App\Models\AssetModel::class)->states('polycomcx-model')->make([
|
||||||
'name' => "updated AssetModel name",
|
'name' => "updated AssetModel name",
|
||||||
|
'fieldset_id' => 2,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
@ -88,6 +89,7 @@ class ApiAssetModelsCest
|
||||||
'model_number' => $temp_assetmodel->model_number,
|
'model_number' => $temp_assetmodel->model_number,
|
||||||
'name' => $temp_assetmodel->name,
|
'name' => $temp_assetmodel->name,
|
||||||
'notes' => $temp_assetmodel->notes,
|
'notes' => $temp_assetmodel->notes,
|
||||||
|
'fieldset' => $temp_assetmodel->fieldset->id,
|
||||||
];
|
];
|
||||||
|
|
||||||
$I->assertNotEquals($assetmodel->name, $data['name']);
|
$I->assertNotEquals($assetmodel->name, $data['name']);
|
||||||
|
|
Loading…
Reference in a new issue