Skip to content

Commit 5665548

Browse files
committed
make it inline
1 parent 3904387 commit 5665548

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

app/code/Magento/Quote/Test/Unit/Model/Quote/Validator/MinimumOrderAmount/ValidationMessageTest.php

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,10 @@ public function testGetMessage()
6767
->with('sales/minimum_order/amount', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
6868
->willReturn($minimumAmount);
6969

70-
$this->priceHelperMock->expects(
71-
$this->once()
72-
)->method(
73-
'currency'
74-
)->with(
75-
$minimumAmount,
76-
true,
77-
false
78-
)->will(
79-
$this->returnValue($minimumAmountCurrency)
80-
);
70+
$this->priceHelperMock->expects($this->once())
71+
->method('currency')
72+
->with($minimumAmount, true, false)
73+
->will($this->returnValue($minimumAmountCurrency));
8174

8275
$this->assertEquals(
8376
__('Minimum order amount is %1', $minimumAmountCurrency),

0 commit comments

Comments
 (0)