Skip to content

Commit bf39021

Browse files
author
Mohan Ahuja
committed
ACP2E-841: Advanced Pricing Import status message shows wrong count products number of updates
- Updating integration test as per new php8 format for calling parameterized data fixture classes
1 parent 8707fb8 commit bf39021

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dev/tests/integration/testsuite/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricingTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
use Magento\TestFramework\Helper\Bootstrap;
1717
use Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory;
1818
use Magento\Catalog\Api\Data\ProductTierPriceExtensionFactory;
19+
use Magento\TestFramework\Fixture\DataFixture;
20+
use Magento\TestFramework\Fixture\AppArea;
1921

2022
/**
2123
* @magentoAppArea adminhtml
@@ -438,8 +440,8 @@ private function generateImportFile(array $data): string
438440
[
439441
'attribute_code' => 'size',
440442
'default_frontend_label' => 'Size',
441-
'scope'=>'global',
442-
'options'=>[28,29,30,31,32,33,34,36,38]
443+
'scope' => 'global',
444+
'options' => [28,29,30,31,32,33,34,36,38]
443445
],
444446
'attr1'
445447
),
@@ -448,8 +450,8 @@ private function generateImportFile(array $data): string
448450
[
449451
'attribute_code' => 'colors',
450452
'default_frontend_label' => 'Colors',
451-
'scope'=>'global',
452-
'options'=>["Red","Green","Yellow","Blue","Orange"]
453+
'scope' => 'global',
454+
'options' => ["Red","Green","Yellow","Blue","Orange"]
453455
]
454456
),
455457
AppArea('adminhtml')

0 commit comments

Comments
 (0)