We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77c0607 + e2bf1ed commit 90201b4Copy full SHA for 90201b4
app/code/Magento/BundleImportExport/Test/Unit/Model/Import/Product/Type/BundleTest.php
@@ -347,6 +347,19 @@ public function testPrepareAttributesWithDefaultValueForSaveInsideCall()
347
$bundleMock->prepareAttributesWithDefaultValueForSave($rowData);
348
}
349
350
+ /**
351
+ * Test for isRowValid()
352
+ */
353
+ public function testIsRowValid()
354
+ {
355
+ $this->entityModel->expects($this->any())->method('getRowScope')->will($this->returnValue(-1));
356
+ $rowData = [
357
+ 'price_type' => 'fixed',
358
+ 'price_view' => 'bundle_price_view'
359
+ ];
360
+ $this->assertEquals($this->bundle->isRowValid($rowData, 0), true);
361
+ }
362
+
363
/**
364
* @param $object
365
* @param $property
0 commit comments