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

Commit

Permalink
fix(Product): fix type for remove price action
Browse files Browse the repository at this point in the history
Closes #153
  • Loading branch information
Jens Schulze committed Sep 25, 2015
1 parent 0ed8dc8 commit c0a5ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Request/Products/Command/ProductRemovePriceAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function fieldDefinitions()
{
return [
'action' => [static::TYPE => 'string'],
'priceId' => [static::TYPE => 'int'],
'priceId' => [static::TYPE => 'string'],
'staged' => [static::TYPE => 'bool'],
];
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Request/GenericActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public function actionArgumentProvider()
'\Commercetools\Core\Request\Products\Command\ProductRemovePriceAction',
'ofPriceId',
[
10
'10'
]
],
[
Expand Down

0 comments on commit c0a5ccc

Please # to comment.