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

Commit 26c9626

Browse files
author
Jens Schulze
committed
test(Product): add unit test for price custom field update actions
1 parent cfbc0bb commit 26c9626

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/unit/Request/GenericActionTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,14 @@ public function actionFieldProvider()
165165
'\Commercetools\Core\Request\Products\Command\ProductSetMetaKeywordsAction',
166166
['action', 'metaKeywords']
167167
],
168+
[
169+
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomFieldAction',
170+
['action', 'priceId', 'staged', 'name', 'value'],
171+
],
172+
[
173+
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomTypeAction',
174+
['action', 'typeId', 'typeKey', 'priceId', 'staged', 'fields'],
175+
],
168176
[
169177
'\Commercetools\Core\Request\Products\Command\ProductSetSearchKeywordsAction',
170178
['action', 'searchKeywords', 'staged']
@@ -916,6 +924,14 @@ public function actionArgumentProvider()
916924
'\Commercetools\Core\Request\Products\Command\ProductSetMetaKeywordsAction',
917925
'of',
918926
],
927+
[
928+
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomFieldAction',
929+
'of',
930+
],
931+
[
932+
'\Commercetools\Core\Request\Products\Command\ProductSetPriceCustomTypeAction',
933+
'of',
934+
],
919935
[
920936
'\Commercetools\Core\Request\Products\Command\ProductSetSearchKeywordsAction',
921937
'ofKeywords',

0 commit comments

Comments
 (0)