A free open source IT asset/license management system
Updated test for new JSON
snipe6d53a5f58d1d
diff --git a/tests/api/ApiAssetsCest.php b/tests/api/ApiAssetsCest.phpindex 47233c427a..eb076d048b 100644--- a/tests/api/ApiAssetsCest.php+++ b/tests/api/ApiAssetsCest.php@@ -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) ? [