1616use Magento \CatalogImportExport \Model \Import \Product \RowValidatorInterface as RowValidatorInterface ;
1717use Magento \CatalogImportExport \Model \Import \Product \StoreResolver ;
1818use Magento \CatalogImportExport \Model \Import \Proxy \Product \ResourceModelFactory as ResourceFactory ;
19- use Magento \Eav \Model \Config ;
2019use Magento \Eav \Model \Entity \Type ;
2120use Magento \Framework \App \ResourceConnection ;
2221use Magento \Framework \DB \Adapter \AdapterInterface ;
2625use Magento \Framework \Json \Helper \Data ;
2726use Magento \Framework \Stdlib \DateTime \DateTime ;
2827use Magento \Framework \Stdlib \DateTime \TimezoneInterface ;
29- use Magento \Framework \Stdlib \StringUtils ;
3028use Magento \ImportExport \Model \Import ;
3129use Magento \ImportExport \Model \Import \ErrorProcessing \ProcessingErrorAggregatorInterface ;
3230use Magento \ImportExport \Model \ResourceModel \Helper ;
@@ -99,11 +97,6 @@ class AdvancedPricingTest extends AbstractImportTestCase
9997 */
10098 protected $ dataSourceModel ;
10199
102- /**
103- * @var Config
104- */
105- protected $ eavConfig ;
106-
107100 /**
108101 * @var TimezoneInterface|MockObject
109102 */
@@ -139,11 +132,6 @@ class AdvancedPricingTest extends AbstractImportTestCase
139132 */
140133 protected $ advancedPricing ;
141134
142- /**
143- * @var StringUtils
144- */
145- protected $ stringObject ;
146-
147135 /**
148136 * @var ProcessingErrorAggregatorInterface
149137 */
@@ -165,10 +153,8 @@ protected function setUp(): void
165153 );
166154 $ this ->resource ->method ('getConnection ' )->willReturn ($ this ->connection );
167155 $ this ->dataSourceModel = $ this ->createMock (\Magento \ImportExport \Model \ResourceModel \Import \Data::class);
168- $ this ->eavConfig = $ this ->createMock (Config::class);
169156 $ entityType = $ this ->createMock (Type::class);
170157 $ entityType ->method ('getEntityTypeId ' )->willReturn ('' );
171- $ this ->eavConfig ->method ('getEntityType ' )->willReturn ($ entityType );
172158 $ this ->resourceFactory = $ this ->getMockBuilder (
173159 \Magento \CatalogImportExport \Model \Import \Proxy \Product \ResourceModelFactory::class
174160 )
@@ -193,7 +179,6 @@ protected function setUp(): void
193179 $ this ->tierPriceValidator = $ this ->createMock (
194180 TierPrice::class
195181 );
196- $ this ->stringObject = $ this ->createMock (StringUtils::class);
197182 $ this ->errorAggregator = $ this ->getErrorAggregatorObject ();
198183 $ this ->dateTime = $ this ->getMockBuilder (DateTime::class)
199184 ->disableOriginalConstructor ()
@@ -1070,10 +1055,8 @@ private function getAdvancedPricingMock($methods = [])
10701055 $ this ->jsonHelper ,
10711056 $ this ->importExportData ,
10721057 $ this ->dataSourceModel ,
1073- $ this ->eavConfig ,
10741058 $ this ->resource ,
10751059 $ this ->resourceHelper ,
1076- $ this ->stringObject ,
10771060 $ this ->errorAggregator ,
10781061 $ this ->dateTime ,
10791062 $ this ->resourceFactory ,
0 commit comments