Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 696a5a5

Browse files
magento-engcom-teamishakhsuvarov
authored andcommitted
Fix for Forward Ports batch 26 has issues with CICD builds
1 parent c5a823f commit 696a5a5

File tree

2 files changed

+4
-2
lines changed
  • app/code/Magento
    • Bundle/Test/Unit/Controller/Adminhtml/Product/Initialization/Helper/Plugin
    • Config/Test/Unit/Model/Config/Structure

2 files changed

+4
-2
lines changed

app/code/Magento/Bundle/Test/Unit/Controller/Adminhtml/Product/Initialization/Helper/Plugin/BundleTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ public function testAfterInitializeIfBundleAnsCustomOptionsAndBundleSelectionsEx
130130
);
131131
$this->productMock->expects($this->once())->method('setOptions')->with(null);
132132
$this->productMock->expects($this->once())->method('setCanSaveBundleSelections')->with(true);
133-
$this->productMock->expects($this->once())->method('getBundleOptionsData')->willReturn(['option_1' => ['delete' => 1]]);
133+
$this->productMock->expects($this->once())
134+
->method('getBundleOptionsData')
135+
->willReturn(['option_1' => ['delete' => 1]]);
134136
$extentionAttribute = $this->getMockBuilder(\Magento\Catalog\Api\Data\ProductExtensionInterface::class)
135137
->disableOriginalConstructor()
136138
->setMethods(['setBundleProductOptions'])

app/code/Magento/Config/Test/Unit/Model/Config/Structure/ReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testReadSuccessNotValidatedCase()
103103

104104
/**
105105
* Test the execution with the Validation exception of the 'read' method
106-
*
106+
*
107107
* @expectedException \Magento\Framework\Exception\LocalizedException
108108
* @expectedExceptionMessage Invalid XML in file file:
109109
*/

0 commit comments

Comments
 (0)