Skip to content

Commit

Permalink
Distinguish between non existing SKU and missing SKU in API test
Browse files Browse the repository at this point in the history
  • Loading branch information
schmengler committed Sep 27, 2017
1 parent 3dbfc5e commit 0253aec
Showing 1 changed file with 24 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 0253aec

Please sign in to comment.