mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Updated test for new JSON
This commit is contained in:
parent
54a2c46101
commit
6d53a5f58d
|
@ -55,6 +55,10 @@ class ApiAssetsCest
|
||||||
'id' => (int) $asset->model->manufacturer->id,
|
'id' => (int) $asset->model->manufacturer->id,
|
||||||
'name'=> e($asset->model->manufacturer->name)
|
'name'=> e($asset->model->manufacturer->name)
|
||||||
] : null,
|
] : null,
|
||||||
|
'supplier' => ($asset->supplier) ? [
|
||||||
|
'id' => (int) $asset->supplier->id,
|
||||||
|
'name'=> e($asset->supplier->name)
|
||||||
|
] : null,
|
||||||
'notes' => e($asset->notes),
|
'notes' => e($asset->notes),
|
||||||
'order_number' => e($asset->order_number),
|
'order_number' => e($asset->order_number),
|
||||||
'company' => ($asset->company) ? [
|
'company' => ($asset->company) ? [
|
||||||
|
|
Loading…
Reference in a new issue