Skip to content

Commit a943dac

Browse files
author
root
committed
reorderid issue unit test
1 parent 483edb8 commit a943dac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Sales/Test/Unit/Model/AdminOrder/CreateTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ protected function setUp(): void
151151

152152
$this->orderMock = $this->getMockBuilder(Order::class)
153153
->disableOriginalConstructor()
154-
->addMethods(['setReordered', 'getReordered'])
155154
->onlyMethods(
156155
[
157156
'getEntityId',
@@ -448,8 +447,6 @@ public function testInitFromOrder()
448447

449448
$this->orderMock->method('getItemsCollection')
450449
->willReturn($itemCollectionMock);
451-
$this->orderMock->method('getReordered')
452-
->willReturn(false);
453450
$this->orderMock->method('getShippingAddress')
454451
->willReturn($address);
455452
$this->orderMock->method('getBillingAddress')

0 commit comments

Comments
 (0)