Skip to content

Commit 61d8bc3

Browse files
author
Stanislav Idolov
committed
ENGCOM-2719: Add Currency Converter API connecting feature #15542
1 parent 5897c80 commit 61d8bc3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,6 @@ private function getServiceResponse($url, $retry = 0)
141141
*/
142142
protected function _convert($currencyFrom, $currencyTo)
143143
{
144+
return 1;
144145
}
145146
}

app/code/Magento/Security/Test/Unit/Controller/Adminhtml/Session/LogoutAllTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function testExecuteException()
173173
->method('logoutOtherUserSessions')
174174
->willThrowException(new \Exception());
175175
$this->messageManager->expects($this->once())
176-
->method('addSuccessMessageptionMessage')
176+
->method('addExceptionMessage')
177177
->with(new \Exception(), $phrase);
178178
$this->controller->execute();
179179
}

0 commit comments

Comments
 (0)