@@ -410,7 +410,6 @@ protected function _getSuperAttributes(): array
410410 'attribute_code ' => 'testattr2 ' ,
411411 'is_global ' => '1 ' ,
412412 'is_visible ' => '1 ' ,
413- 'is_static ' => '0 ' ,
414413 'is_required ' => '0 ' ,
415414 'is_unique ' => '0 ' ,
416415 'frontend_label ' => 'testattr2 ' ,
@@ -432,7 +431,6 @@ protected function _getSuperAttributes(): array
432431 'attribute_code ' => 'testattr3 ' ,
433432 'is_global ' => '1 ' ,
434433 'is_visible ' => '1 ' ,
435- 'is_static ' => '0 ' ,
436434 'is_required ' => '0 ' ,
437435 'is_unique ' => '0 ' ,
438436 'frontend_label ' => 'testattr3 ' ,
@@ -480,8 +478,8 @@ public function testSaveData()
480478 [$ this ->productEntityLinkField => 9 , 'type_id ' => 'configurable ' , 'attr_set_code ' => 'Default ' ],
481479 ]);
482480 $ this ->_entityModel ->expects ($ this ->any ())
483- ->method ('getNewSku ' )
484- ->will ($ this ->returnValue ($ newSkus ));
481+ ->method ('getNewSku ' )
482+ ->will ($ this ->returnValue ($ newSkus ));
485483
486484 // at(0) is select() call, quoteIdentifier() is invoked at(1) and at(2)
487485 $ this ->_connection ->expects ($ this ->at (1 ))->method ('quoteIdentifier ' )->with ('m.attribute_id ' )->willReturn ('a ' );
@@ -574,7 +572,7 @@ public function testIsRowValid(array $productData): void
574572 $ this ->setPropertyValue ($ this ->configurable , '_superAttributes ' , $ productData ['super_attributes ' ]);
575573
576574 foreach ($ bunch as $ rowData ) {
577- $ result = $ this ->configurable ->isRowValid ($ rowData , 0 , ! isset ( $ this -> _oldSku [ $ rowData [ ' sku ' ]]) );
575+ $ result = $ this ->configurable ->isRowValid ($ rowData , 0 , false );
578576 $ this ->assertNotNull ($ result );
579577 if ($ rowData ['sku ' ] === $ caseInsensitiveSKU ) {
580578 $ this ->assertTrue ($ result );
0 commit comments