Skip to content

Commit a707031

Browse files
committed
Fixed code by recommendation
1 parent 6c2d937 commit a707031

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function attributeValidationProvider()
112112
[
113113
'any_behavior',
114114
[],
115-
['product_type' => 'any', 'sku' => ''],
115+
['product_type' => 'any'],
116116
false,
117117
Product::COL_SKU
118118
],

app/code/Magento/Customer/Test/Unit/Model/Metadata/Form/MultiselectTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public function outputValueTextDataProvider()
144144
{
145145
return [
146146
'empty' => ['', ''],
147+
'null' => [false, ''],
147148
'number' => [14, 'fourteen'],
148149
'string' => ['some key', 'some string'],
149150
'array' => [[14, 'some key'], 'fourteen, some string'],
@@ -174,7 +175,7 @@ public function outputValueJsonDataProvider()
174175
{
175176
return [
176177
'empty' => ['', ['']],
177-
'null' => [null, ['']],
178+
'null' => [false, ['']],
178179
'number' => [14, ['14']],
179180
'string' => ['some key', ['some key']],
180181
'array' => [[14, 'some key'], ['14', 'some key']],

0 commit comments

Comments
 (0)