Skip to content

Commit 51b72d3

Browse files
committed
MC-36253: Update M2 PayPal BN codes in 2.3.x
1 parent d45353b commit 51b72d3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/code/Magento/Paypal/Test/Unit/Model/AbstractConfigTest.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
1313

1414
/**
15-
* Class AbstractConfigTest
16-
* @package Magento\Paypal\Test\Unit\Model
15+
* Test for \Magento\Framework\App\Config\ScopeConfigInterface
1716
*/
1817
class AbstractConfigTest extends \PHPUnit\Framework\TestCase
1918
{
@@ -30,7 +29,7 @@ class AbstractConfigTest extends \PHPUnit\Framework\TestCase
3029

3130
protected function setUp()
3231
{
33-
$this->scopeConfigMock = $this->getMockBuilder(\Magento\Framework\App\Config\ScopeConfigInterface::class)
32+
$this->scopeConfigMock = $this->getMockBuilder(ScopeConfigInterface::class)
3433
->setMethods(['getValue', 'isSetFlag'])
3534
->getMockForAbstractClass();
3635

@@ -51,7 +50,7 @@ public function testSetMethod($method, $expected)
5150
public function testSetMethodInstance()
5251
{
5352
/** @var $methodInterfaceMock MethodInterface */
54-
$methodInterfaceMock = $this->getMockBuilder(\Magento\Payment\Model\MethodInterface::class)
53+
$methodInterfaceMock = $this->getMockBuilder(MethodInterface::class)
5554
->getMockForAbstractClass();
5655
$this->assertSame($this->config, $this->config->setMethodInstance($methodInterfaceMock));
5756
}
@@ -66,7 +65,7 @@ public function testSetMethodInstance()
6665
public function setMethodDataProvider()
6766
{
6867
/** @var $methodInterfaceMock MethodInterface */
69-
$methodInterfaceMock = $this->getMockBuilder(\Magento\Payment\Model\MethodInterface::class)
68+
$methodInterfaceMock = $this->getMockBuilder(MethodInterface::class)
7069
->getMockForAbstractClass();
7170
$methodInterfaceMock->expects($this->once())
7271
->method('getCode')

0 commit comments

Comments
 (0)