Skip to content

Commit d711bab

Browse files
committed
Rename method upsertResourceList
1 parent 3a6ad6b commit d711bab

23 files changed

+26
-26
lines changed

spec/Api/AssociationTypeApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function it_upserts_an_association_type($resourceClient)
149149
function it_upserts_a_list_of_association_types($resourceClient, UpsertResourceListResponse $response)
150150
{
151151
$resourceClient
152-
->upsertResourceList(
152+
->upsertStreamResourceList(
153153
AssociationTypeApi::ASSOCIATION_TYPES_URI,
154154
[],
155155
[

spec/Api/AttributeApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function it_upserts_an_attribute($resourceClient)
143143
function it_upserts_a_list_of_attributes($resourceClient, UpsertResourceListResponse $response)
144144
{
145145
$resourceClient
146-
->upsertResourceList(
146+
->upsertStreamResourceList(
147147
AttributeApi::ATTRIBUTES_URI,
148148
[],
149149
[

spec/Api/AttributeGroupApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function it_upserts_an_attribute_group($resourceClient)
141141
function it_upserts_a_list_of_attribute_groups($resourceClient, UpsertResourceListResponse $response)
142142
{
143143
$resourceClient
144-
->upsertResourceList(
144+
->upsertStreamResourceList(
145145
AttributeGroupApi::ATTRIBUTE_GROUPS_URI,
146146
[],
147147
[

spec/Api/AttributeOptionApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function it_upserts_an_attribute_option($resourceClient)
153153

154154
function it_upserts_a_list_of_attribute_options($resourceClient, UpsertResourceListResponse $response)
155155
{
156-
$resourceClient->upsertResourceList(AttributeOptionApi::ATTRIBUTE_OPTIONS_URI, ['foo'], [
156+
$resourceClient->upsertStreamResourceList(AttributeOptionApi::ATTRIBUTE_OPTIONS_URI, ['foo'], [
157157
['code' => 'bar', 'attribute' => 'foo', 'sort_order' => 42],
158158
['code' => 'fighters', 'attribute' => 'foo', 'sort_order' => 43]
159159
])->willReturn($response);

spec/Api/CategoryApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function it_upserts_a_category($resourceClient)
139139
function it_upserts_a_list_of_categories($resourceClient, UpsertResourceListResponse $response)
140140
{
141141
$resourceClient
142-
->upsertResourceList(
142+
->upsertStreamResourceList(
143143
CategoryApi::CATEGORIES_URI,
144144
[],
145145
[

spec/Api/ChannelApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function it_upserts_a_channel($resourceClient)
143143
function it_upserts_a_list_of_channel($resourceClient, UpsertResourceListResponse $response)
144144
{
145145
$resourceClient
146-
->upsertResourceList(
146+
->upsertStreamResourceList(
147147
ChannelApi::CHANNELS_URI,
148148
[],
149149
[

spec/Api/FamilyApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function it_upserts_a_family($resourceClient)
142142
function it_upserts_a_list_of_families($resourceClient, UpsertResourceListResponse $response)
143143
{
144144
$resourceClient
145-
->upsertResourceList(
145+
->upsertStreamResourceList(
146146
FamilyApi::FAMILIES_URI,
147147
[],
148148
[

spec/Api/FamilyVariantApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function it_upserts_a_list_of_family_variants($resourceClient, UpsertResourceLis
210210
];
211211

212212
$resourceClient
213-
->upsertResourceList(FamilyVariantApi::FAMILY_VARIANTS_URI, ['boots'], $data)
213+
->upsertStreamResourceList(FamilyVariantApi::FAMILY_VARIANTS_URI, ['boots'], $data)
214214
->willReturn($response);
215215

216216
$this->upsertList('boots', $data)->shouldReturn($response);

spec/Api/ProductApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function it_deletes_a_product($resourceClient)
153153
function it_upserts_a_list_of_products($resourceClient, UpsertResourceListResponse $response)
154154
{
155155
$resourceClient
156-
->upsertResourceList(
156+
->upsertStreamResourceList(
157157
ProductApi::PRODUCTS_URI,
158158
[],
159159
[

spec/Api/ProductModelApiSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function it_upserts_a_list_of_product_models($resourceClient, UpsertResourceList
151151
]
152152
];
153153

154-
$resourceClient->upsertResourceList(ProductModelApi::PRODUCT_MODELS_URI, [], $data)->willReturn($response);
154+
$resourceClient->upsertStreamResourceList(ProductModelApi::PRODUCT_MODELS_URI, [], $data)->willReturn($response);
155155

156156
$this->upsertList($data)->shouldReturn($response);
157157
}

0 commit comments

Comments
 (0)