This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +20
-20
lines changed Expand file tree Collapse file tree 13 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 12
12
use Magento \Sales \Model \Order ;
13
13
use Magento \TestFramework \Helper \Bootstrap ;
14
14
15
- class CaseInfoTest extends \PHPUnit_Framework_TestCase
15
+ class CaseInfoTest extends \PHPUnit \ Framework \TestCase
16
16
{
17
17
/**
18
18
* @var ObjectManagerInterface
Original file line number Diff line number Diff line change 10
10
use Magento \Framework \View \LayoutInterface ;
11
11
use Magento \TestFramework \Helper \Bootstrap ;
12
12
13
- class FingerprintTest extends \PHPUnit_Framework_TestCase
13
+ class FingerprintTest extends \PHPUnit \ Framework \TestCase
14
14
{
15
15
/**
16
16
* @var ObjectManager
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function testExecuteTestSuccess()
90
90
/**
91
91
* Returns mocked WebhookRequest
92
92
*
93
- * @return WebhookRequest|\PHPUnit_Framework_MockObject_MockObject
93
+ * @return WebhookRequest|\PHPUnit\Framework\MockObject_MockObject
94
94
*/
95
95
private function getWebhookRequest ()
96
96
{
@@ -113,7 +113,7 @@ private function getWebhookRequest()
113
113
/**
114
114
* Returns mocked test WebhookRequest
115
115
*
116
- * @return WebhookRequest|\PHPUnit_Framework_MockObject_MockObject
116
+ * @return WebhookRequest|\PHPUnit\Framework\MockObject_MockObject
117
117
*/
118
118
private function getTestWebhookRequest ()
119
119
{
Original file line number Diff line number Diff line change 16
16
/**
17
17
* Contains test methods for case management service
18
18
*/
19
- class CaseManagementTest extends \PHPUnit_Framework_TestCase
19
+ class CaseManagementTest extends \PHPUnit \ Framework \TestCase
20
20
{
21
21
/**
22
22
* @var CaseManagement
Original file line number Diff line number Diff line change 14
14
/**
15
15
* Testing case repository
16
16
*/
17
- class CaseRepositoryTest extends \PHPUnit_Framework_TestCase
17
+ class CaseRepositoryTest extends \PHPUnit \ Framework \TestCase
18
18
{
19
19
/**
20
20
* @var ObjectManager
Original file line number Diff line number Diff line change 18
18
use Magento \Signifyd \Model \SignifydGateway \Client \RequestBuilder ;
19
19
use Magento \Signifyd \Model \SignifydGateway \Gateway ;
20
20
use Magento \TestFramework \Helper \Bootstrap ;
21
- use PHPUnit_Framework_MockObject_MockObject as MockObject ;
21
+ use PHPUnit \ Framework \ MockObject_MockObject as MockObject ;
22
22
use Psr \Log \LoggerInterface ;
23
23
24
24
/**
25
25
* Class tests interaction with Signifyd Case creation service
26
26
*
27
27
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
28
28
*/
29
- class CreationServiceTest extends \PHPUnit_Framework_TestCase
29
+ class CreationServiceTest extends \PHPUnit \ Framework \TestCase
30
30
{
31
31
/**
32
32
* @var ObjectManager
Original file line number Diff line number Diff line change 17
17
/**
18
18
* Contains tests for case entity updating service.
19
19
*/
20
- class UpdatingServiceTest extends \PHPUnit_Framework_TestCase
20
+ class UpdatingServiceTest extends \PHPUnit \ Framework \TestCase
21
21
{
22
22
/**
23
23
* @var ObjectManager
Original file line number Diff line number Diff line change 13
13
use Magento \Signifyd \Model \SignifydGateway \Gateway ;
14
14
use Magento \Signifyd \Model \SignifydGateway \GatewayException ;
15
15
use Magento \TestFramework \Helper \Bootstrap ;
16
- use PHPUnit_Framework_MockObject_MockObject as MockObject ;
16
+ use PHPUnit \ Framework \ MockObject_MockObject as MockObject ;
17
17
use Psr \Log \LoggerInterface ;
18
18
19
19
/**
20
20
* Contains test cases for canceling Signifyd guarantee flow.
21
21
*/
22
- class CancelingServiceTest extends \PHPUnit_Framework_TestCase
22
+ class CancelingServiceTest extends \PHPUnit \ Framework \TestCase
23
23
{
24
24
private static $ caseId = 123 ;
25
25
Original file line number Diff line number Diff line change 13
13
use Magento \Signifyd \Model \SignifydGateway \Gateway ;
14
14
use Magento \Signifyd \Model \SignifydGateway \GatewayException ;
15
15
use Magento \TestFramework \Helper \Bootstrap ;
16
- use PHPUnit_Framework_MockObject_MockObject as MockObject ;
16
+ use PHPUnit \ Framework \ MockObject_MockObject as MockObject ;
17
17
use Psr \Log \LoggerInterface ;
18
18
19
19
/**
20
20
* Contains positive and negative test cases for Signifyd case guarantee creation flow.
21
21
*/
22
- class CreationServiceTest extends \PHPUnit_Framework_TestCase
22
+ class CreationServiceTest extends \PHPUnit \ Framework \TestCase
23
23
{
24
24
/**
25
25
* @var CreationService
Original file line number Diff line number Diff line change 20
20
* @magentoAppIsolation enabled
21
21
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
22
22
*/
23
- class CreateCaseBuilderTest extends \PHPUnit_Framework_TestCase
23
+ class CreateCaseBuilderTest extends \PHPUnit \ Framework \TestCase
24
24
{
25
25
/**
26
26
* @var ObjectManagerInterface
You can’t perform that action at this time.
0 commit comments