Skip to content

Commit 5f93ccc

Browse files
AC-12092_PHPUnit10: phpcs issue fix
1 parent ed0bc69 commit 5f93ccc

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

app/code/Magento/Bundle/Test/Unit/Model/Plugin/PriceBackendTest.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,18 @@ public function testAroundValidate($typeId, $priceType, $expectedResult)
7777
public static function aroundValidateDataProvider()
7878
{
7979
return [
80-
['typeId' => Type::TYPE_SIMPLE, 'priceType' => Price::PRICE_TYPE_FIXED, 'expectedResult' => static::CLOSURE_VALUE],
81-
['typeId' => Type::TYPE_SIMPLE, 'priceType' => Price::PRICE_TYPE_DYNAMIC, 'expectedResult' => static::CLOSURE_VALUE],
82-
['typeId' => Type::TYPE_BUNDLE, 'priceType' => Price::PRICE_TYPE_FIXED, 'expectedResult' => static::CLOSURE_VALUE],
83-
['typeId' => Type::TYPE_BUNDLE, 'priceType' => Price::PRICE_TYPE_DYNAMIC, 'expectedResult' => true],
84-
['typeId' => Type::TYPE_VIRTUAL, 'priceType' => Price::PRICE_TYPE_FIXED, 'expectedResult' => static::CLOSURE_VALUE],
85-
['typeId' => Type::TYPE_VIRTUAL, 'priceType' => Price::PRICE_TYPE_DYNAMIC, 'expectedResult' => static::CLOSURE_VALUE],
80+
['typeId' => Type::TYPE_SIMPLE, 'priceType' => Price::PRICE_TYPE_FIXED,
81+
'expectedResult' => static::CLOSURE_VALUE],
82+
['typeId' => Type::TYPE_SIMPLE, 'priceType' => Price::PRICE_TYPE_DYNAMIC,
83+
'expectedResult' => static::CLOSURE_VALUE],
84+
['typeId' => Type::TYPE_BUNDLE, 'priceType' => Price::PRICE_TYPE_FIXED,
85+
'expectedResult' => static::CLOSURE_VALUE],
86+
['typeId' => Type::TYPE_BUNDLE, 'priceType' => Price::PRICE_TYPE_DYNAMIC,
87+
'expectedResult' => true],
88+
['typeId' => Type::TYPE_VIRTUAL, 'priceType' => Price::PRICE_TYPE_FIXED,
89+
'expectedResult' => static::CLOSURE_VALUE],
90+
['typeId' => Type::TYPE_VIRTUAL, 'priceType' => Price::PRICE_TYPE_DYNAMIC,
91+
'expectedResult' => static::CLOSURE_VALUE],
8692
];
8793
}
8894
}

0 commit comments

Comments
 (0)