Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
test(Product): add unit test for price custom field update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed Oct 28, 2015
1 parent cfbc0bb commit 26c9626
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/unit/Request/GenericActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ public function actionFieldProvider()
'\Commercetools\Core\Request\Products\Command\ProductSetMetaKeywordsAction',
['action', 'metaKeywords']
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomFieldAction',
['action', 'priceId', 'staged', 'name', 'value'],
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomTypeAction',
['action', 'typeId', 'typeKey', 'priceId', 'staged', 'fields'],
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetSearchKeywordsAction',
['action', 'searchKeywords', 'staged']
Expand Down Expand Up @@ -916,6 +924,14 @@ public function actionArgumentProvider()
'\Commercetools\Core\Request\Products\Command\ProductSetMetaKeywordsAction',
'of',
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomFieldAction',
'of',
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomTypeAction',
'of',
],
[
'\Commercetools\Core\Request\Products\Command\ProductSetSearchKeywordsAction',
'ofKeywords',
Expand Down

0 comments on commit 26c9626

Please # to comment.