Updated test for new JSON

This commit is contained in:
snipe 2017-04-22 19:31:22 -05:00
parent 54a2c46101
commit 6d53a5f58d

View file

@ -55,6 +55,10 @@ class ApiAssetsCest
'id' => (int) $asset->model->manufacturer->id,
'name'=> e($asset->model->manufacturer->name)
] : null,
'supplier' => ($asset->supplier) ? [
'id' => (int) $asset->supplier->id,
'name'=> e($asset->supplier->name)
] : null,
'notes' => e($asset->notes),
'order_number' => e($asset->order_number),
'company' => ($asset->company) ? [