Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit fb4a81b

Browse files
author
Freek Vandeursen
committed
Update test
1 parent b5d4130 commit fb4a81b

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,28 @@ protected function setUp()
134134
->expects($this->any())
135135
->method('addFieldToFilter')
136136
->with(
137-
'main_table.attribute_id',
138-
['in' => ['attribute_id', 'boolean_attribute']]
137+
['main_table.attribute_id', 'main_table.attribute_code'],
138+
[
139+
[
140+
'in' =>
141+
[
142+
'attribute_id',
143+
'boolean_attribute',
144+
],
145+
],
146+
[
147+
'in' =>
148+
[
149+
'related_tgtr_position_behavior',
150+
'related_tgtr_position_limit',
151+
'upsell_tgtr_position_behavior',
152+
'upsell_tgtr_position_limit',
153+
'thumbnail_label',
154+
'small_image_label',
155+
'image_label',
156+
],
157+
],
158+
]
139159
)
140160
->willReturn([$attribute1, $attribute2]);
141161

0 commit comments

Comments
 (0)