@@ -410,7 +410,6 @@ protected function _getSuperAttributes(): array
410
410
'attribute_code ' => 'testattr2 ' ,
411
411
'is_global ' => '1 ' ,
412
412
'is_visible ' => '1 ' ,
413
- 'is_static ' => '0 ' ,
414
413
'is_required ' => '0 ' ,
415
414
'is_unique ' => '0 ' ,
416
415
'frontend_label ' => 'testattr2 ' ,
@@ -432,7 +431,6 @@ protected function _getSuperAttributes(): array
432
431
'attribute_code ' => 'testattr3 ' ,
433
432
'is_global ' => '1 ' ,
434
433
'is_visible ' => '1 ' ,
435
- 'is_static ' => '0 ' ,
436
434
'is_required ' => '0 ' ,
437
435
'is_unique ' => '0 ' ,
438
436
'frontend_label ' => 'testattr3 ' ,
@@ -480,8 +478,8 @@ public function testSaveData()
480
478
[$ this ->productEntityLinkField => 9 , 'type_id ' => 'configurable ' , 'attr_set_code ' => 'Default ' ],
481
479
]);
482
480
$ this ->_entityModel ->expects ($ this ->any ())
483
- ->method ('getNewSku ' )
484
- ->will ($ this ->returnValue ($ newSkus ));
481
+ ->method ('getNewSku ' )
482
+ ->will ($ this ->returnValue ($ newSkus ));
485
483
486
484
// at(0) is select() call, quoteIdentifier() is invoked at(1) and at(2)
487
485
$ this ->_connection ->expects ($ this ->at (1 ))->method ('quoteIdentifier ' )->with ('m.attribute_id ' )->willReturn ('a ' );
@@ -574,7 +572,7 @@ public function testIsRowValid(array $productData): void
574
572
$ this ->setPropertyValue ($ this ->configurable , '_superAttributes ' , $ productData ['super_attributes ' ]);
575
573
576
574
foreach ($ bunch as $ rowData ) {
577
- $ result = $ this ->configurable ->isRowValid ($ rowData , 0 , ! isset ( $ this -> _oldSku [ $ rowData [ ' sku ' ]]) );
575
+ $ result = $ this ->configurable ->isRowValid ($ rowData , 0 , false );
578
576
$ this ->assertNotNull ($ result );
579
577
if ($ rowData ['sku ' ] === $ caseInsensitiveSKU ) {
580
578
$ this ->assertTrue ($ result );
0 commit comments