Skip to content

Commit dcd3929

Browse files
committed
MAGETWO-38193: Stabilize story branch
1 parent 73ecbb3 commit dcd3929

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Sales/Test/Unit/Model/Resource/Order/RelationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class RelationTest extends \PHPUnit_Framework_TestCase
3333
/**
3434
* @var \Magento\Sales\Model\Resource\Order\Status\History|\PHPUnit_Framework_MockObject_MockObject
3535
*/
36-
protected $orderStatusHistoryResourceMock;
36+
protected $statusHistoryResource;
3737

3838
/**
3939
* @var \Magento\Sales\Model\Order|\PHPUnit_Framework_MockObject_MockObject
@@ -87,7 +87,7 @@ public function setUp()
8787
]
8888
)
8989
->getMock();
90-
$this->orderStatusHistoryResourceMock = $this->getMockBuilder('Magento\Sales\Model\Resource\Order\Status\History')
90+
$this->statusHistoryResource = $this->getMockBuilder('Magento\Sales\Model\Resource\Order\Status\History')
9191
->disableOriginalConstructor()
9292
->setMethods(
9393
[
@@ -156,7 +156,7 @@ public function setUp()
156156
$this->addressHandlerMock,
157157
$this->orderItemResourceMock,
158158
$this->orderPaymentResourceMock,
159-
$this->orderStatusHistoryResourceMock
159+
$this->statusHistoryResource
160160
);
161161
}
162162

@@ -214,7 +214,7 @@ public function testProcessRelation()
214214
->method('setOrder')
215215
->with($this->orderMock)
216216
->willReturnSelf();
217-
$this->orderStatusHistoryResourceMock->expects($this->once())
217+
$this->statusHistoryResource->expects($this->once())
218218
->method('save')
219219
->with($this->orderStatusHistoryMock)
220220
->willReturnSelf();

0 commit comments

Comments
 (0)