Skip to content

Commit 8c329ca

Browse files
author
Yu Tang
committed
MAGETWO-28256: Bundle Integration API Refactoring
- Fix failed unit test
1 parent 2dd2392 commit 8c329ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/Test/Unit/Model/Product/LinksListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testLinksList()
111111
->with($linkMock, ['some data'], '\Magento\Bundle\Api\Data\LinkInterface')->willReturnSelf();
112112
$linkMock->expects($this->once())->method('setIsDefault')->with(true)->willReturnSelf();
113113
$linkMock->expects($this->once())->method('setQty')->with(66)->willReturnSelf();
114-
$linkMock->expects($this->once())->method('setIsDefined')->with(22)->willReturnSelf();
114+
$linkMock->expects($this->once())->method('setCanChangeQuantity')->with(22)->willReturnSelf();
115115
$linkMock->expects($this->once())->method('setPrice')->with(12)->willReturnSelf();
116116
$linkMock->expects($this->once())->method('setId')->with($selectionId)->willReturnSelf();
117117
$linkMock->expects($this->once())

0 commit comments

Comments
 (0)