Skip to content
Snippets Groups Projects
Commit aae003f3 authored by Olexii Korshenko's avatar Olexii Korshenko
Browse files

MAGETWO-39633: All offline payment methods dont work with "Payment from...

MAGETWO-39633: All offline payment methods dont work with "Payment from Applicable Countries" setting
parent bb729896
No related merge requests found
...@@ -8,7 +8,7 @@ namespace Magento\Payment\Test\Unit\Model\Checks\CanUseForCountry; ...@@ -8,7 +8,7 @@ namespace Magento\Payment\Test\Unit\Model\Checks\CanUseForCountry;
class CountryProviderTest extends \PHPUnit_Framework_TestCase class CountryProviderTest extends \PHPUnit_Framework_TestCase
{ {
/** /**
* @var CountryProvider * @var \Magento\Payment\Model\Checks\CanUseForCountry\CountryProvider
*/ */
protected $model; protected $model;
...@@ -20,7 +20,7 @@ class CountryProviderTest extends \PHPUnit_Framework_TestCase ...@@ -20,7 +20,7 @@ class CountryProviderTest extends \PHPUnit_Framework_TestCase
public function setUp() public function setUp()
{ {
$this->directoryMock = $this->getMock('Magento\Directory\Helper\Data', [], [], '', false, false); $this->directoryMock = $this->getMock('Magento\Directory\Helper\Data', [], [], '', false, false);
$this->model = new CountryProvider($this->directoryMock); $this->model = new \Magento\Payment\Model\Checks\CanUseForCountry\CountryProvider($this->directoryMock);
} }
public function testGetCountryForNonVirtualQuote() public function testGetCountryForNonVirtualQuote()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment