File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/code/Magento/Quote/Test/Unit/Model/Quote/Validator/MinimumOrderAmount Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,15 @@ public function testGetMessage()
5454 {
5555 $ minimumAmount = 20 ;
5656 $ minimumAmountCurrency = '$20 ' ;
57- $ this ->scopeConfigMock ->expects ($ this ->at (0 ))->method ('getValue ' )->with ('sales/minimum_order/description ' , \Magento \Store \Model \ScopeInterface::SCOPE_STORE )->willReturn (null );
57+ $ this ->scopeConfigMock ->expects ($ this ->at (0 ))
58+ ->method ('getValue ' )
59+ ->with ('sales/minimum_order/description ' , \Magento \Store \Model \ScopeInterface::SCOPE_STORE )
60+ ->willReturn (null );
5861
59- $ this ->scopeConfigMock ->expects ($ this ->at (1 ))->method ('getValue ' )->with ('sales/minimum_order/amount ' , \Magento \Store \Model \ScopeInterface::SCOPE_STORE )->willReturn ($ minimumAmount );
62+ $ this ->scopeConfigMock ->expects ($ this ->at (1 ))
63+ ->method ('getValue ' )
64+ ->with ('sales/minimum_order/amount ' , \Magento \Store \Model \ScopeInterface::SCOPE_STORE )
65+ ->willReturn ($ minimumAmount );
6066
6167 $ this ->priceHelperMock ->expects ($ this ->once ())
6268 ->method ('currency ' )
You can’t perform that action at this time.
0 commit comments