Skip to content
Snippets Groups Projects
Commit 0253aecc authored by Fabian Schmengler's avatar Fabian Schmengler
Browse files

Distinguish between non existing SKU and missing SKU in API test

parent 3dbfc5e7
No related merge requests found
......@@ -5,18 +5,29 @@
*/
return [
'missed_product_sku' =>
'missing_product_sku' => [
[
[
'title' => 'title',
'type' => 'field',
'sort_order' => 1,
'is_require' => 1,
'price' => 10.0,
'price_type' => 'fixed',
'sku' => 'sku1',
'max_characters' => 10,
],
'ProductSku should be specified',
]
'title' => 'title',
'type' => 'field',
'sort_order' => 1,
'is_require' => 1,
'price' => 10.0,
'price_type' => 'fixed',
'max_characters' => 10,
],
'ProductSku should be specified',
],
'invalid_product_sku' => [
[
'title' => 'title',
'type' => 'field',
'sort_order' => 1,
'is_require' => 1,
'price' => 10.0,
'price_type' => 'fixed',
'sku' => 'sku1',
'max_characters' => 10,
],
'Requested product doesn\'t exist',
],
];
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment