Skip to content

Commit 94a3f03

Browse files
[2.3-develop] Forwardport of #12734
1 parent 57c5d8a commit 94a3f03

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Bundle/Test/Unit/Controller/Adminhtml/Product/Initialization/Helper/Plugin

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*/
88
namespace Magento\Bundle\Test\Unit\Controller\Adminhtml\Product\Initialization\Helper\Plugin;
99

10-
use Magento\Catalog\Api\Data\ProductExtensionInterface;
11-
1210
class BundleTest extends \PHPUnit\Framework\TestCase
1311
{
1412
/**
@@ -133,7 +131,7 @@ public function testAfterInitializeIfBundleAnsCustomOptionsAndBundleSelectionsEx
133131
$this->productMock->expects($this->once())->method('setOptions')->with(null);
134132
$this->productMock->expects($this->once())->method('setCanSaveBundleSelections')->with(true);
135133
$this->productMock->expects($this->once())->method('getBundleOptionsData')->willReturn(['option_1' => ['delete' => 1]]);
136-
$extentionAttribute = $this->getMockBuilder(ProductExtensionInterface::class)
134+
$extentionAttribute = $this->getMockBuilder(\Magento\Catalog\Api\Data\ProductExtensionInterface::class)
137135
->disableOriginalConstructor()
138136
->setMethods(['setBundleProductOptions'])
139137
->getMockForAbstractClass();

0 commit comments

Comments
 (0)