Skip to content

Commit

Permalink
Merge pull request #86 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Jul 4, 2022
2 parents 0f563d3 + 7fa02fe commit 2bd45e9
Show file tree
Hide file tree
Showing 527 changed files with 45,954 additions and 13,970 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ generate_history_test: install_deps

prettify: install_deps
php -dmemory_limit=-1 vendor/bin/ecs check --output-format=summaryOnly --fix
php -dmemory_limit=-1 vendor/bin/ecs check --fix

analyse: install_deps prettify
vendor/bin/psalm --threads=$(CPUS)
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,42 @@ public function testExecuteServerException(callable $builderFunction)
public function getRequests()
{
return [
'ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet_withLimit' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productSelectionAssignments()
->get()
->withLimit('limit');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-selection-assignments?limit=limit',
],
'ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet_withOffset' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productSelectionAssignments()
->get()
->withOffset('offset');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-selection-assignments?offset=offset',
],
'ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet_withWithTotal' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productSelectionAssignments()
->get()
->withWithTotal('withTotal');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-selection-assignments?withTotal=withTotal',
],
'ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Loading

0 comments on commit 2bd45e9

Please sign in to comment.