Sorry, my local testing environment is fscked right now :(

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-12 20:38:32 -07:00
parent c5560e466e
commit 8cc9e61983
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -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']);