Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit f86d210

Browse files
author
Magento CICD
authored
merge magento/2.2-develop into magento-engcom/MAGETWO-71174
2 parents 2d475f2 + 84141af commit f86d210

24 files changed

+48
-40
lines changed

Test/Unit/Block/Adminhtml/CaseInfoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* Class CaseInfoTest
2121
*/
22-
class CaseInfoTest extends \PHPUnit_Framework_TestCase
22+
class CaseInfoTest extends \PHPUnit\Framework\TestCase
2323
{
2424
/**
2525
* @var CaseInterface|MockObject

Test/Unit/Controller/Webhooks/HandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2929
*/
30-
class HandlerTest extends \PHPUnit_Framework_TestCase
30+
class HandlerTest extends \PHPUnit\Framework\TestCase
3131
{
3232
/**
3333
* @var Handler
@@ -121,7 +121,7 @@ protected function setUp()
121121

122122
$config = $this->getMockBuilder(Config::class)
123123
->disableOriginalConstructor()
124-
->setMethods(['isDebugModeEnabled'])
124+
->setMethods(['isDebugModeEnabled', 'getByCaseId'])
125125
->getMock();
126126
$config->expects(self::any())
127127
->method('getByCaseId')

Test/Unit/Model/CaseServices/UpdatingServiceFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* Contains tests for case updating service factory.
2020
*/
21-
class UpdatingServiceFactoryTest extends \PHPUnit_Framework_TestCase
21+
class UpdatingServiceFactoryTest extends \PHPUnit\Framework\TestCase
2222
{
2323
/**
2424
* @var UpdatingServiceFactory

Test/Unit/Model/CaseServices/UpdatingServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* Contains tests with different negative and positive scenarios for case updating service.
2121
*/
22-
class UpdatingServiceTest extends \PHPUnit_Framework_TestCase
22+
class UpdatingServiceTest extends \PHPUnit\Framework\TestCase
2323
{
2424
/**
2525
* @var UpdatingService

Test/Unit/Model/CommentsHistoryUpdaterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/**
1616
* Contains tests for comments history updater class.
1717
*/
18-
class CommentsHistoryUpdaterTest extends \PHPUnit_Framework_TestCase
18+
class CommentsHistoryUpdaterTest extends \PHPUnit\Framework\TestCase
1919
{
2020
/**
2121
* @var int
@@ -61,7 +61,7 @@ protected function setUp()
6161

6262
$this->historyFactory = $this->getMockBuilder(HistoryFactory::class)
6363
->disableOriginalConstructor()
64-
->setMethods(['create'])
64+
->setMethods(['create', 'save'])
6565
->getMock();
6666

6767
$this->caseEntity = $this->getMockBuilder(CaseInterface::class)

Test/Unit/Model/CustomerOrdersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2121
*/
22-
class CustomerOrdersTest extends \PHPUnit_Framework_TestCase
22+
class CustomerOrdersTest extends \PHPUnit\Framework\TestCase
2323
{
2424
/**
2525
* @var int

Test/Unit/Model/Guarantee/CancelGuaranteeAbilityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1818
*/
19-
class CancelGuaranteeAbilityTest extends \PHPUnit_Framework_TestCase
19+
class CancelGuaranteeAbilityTest extends \PHPUnit\Framework\TestCase
2020
{
2121
/**
2222
* @var OrderRepositoryInterface|\PHPUnit_Framework_MockObject_MockObject

Test/Unit/Model/Guarantee/CancelingServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* Contains test cases for Signifyd guarantee canceling service.
2121
*/
22-
class CancelingServiceTest extends \PHPUnit_Framework_TestCase
22+
class CancelingServiceTest extends \PHPUnit\Framework\TestCase
2323
{
2424
/**
2525
* @var int

Test/Unit/Model/Guarantee/CreateGuaranteeAbilityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1919
*/
20-
class CreateGuaranteeAbilityTest extends \PHPUnit_Framework_TestCase
20+
class CreateGuaranteeAbilityTest extends \PHPUnit\Framework\TestCase
2121
{
2222
/**
2323
* @var DateTimeFactory

Test/Unit/Model/Guarantee/CreationServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Magento\Signifyd\Model\SignifydGateway\Gateway;
1515
use Magento\Signifyd\Model\SignifydGateway\GatewayException;
1616
use PHPUnit_Framework_MockObject_MockObject as MockObject;
17-
use PHPUnit_Framework_TestCase as TestCase;
17+
use \PHPUnit\Framework\TestCase as TestCase;
1818
use Psr\Log\LoggerInterface;
1919

2020
class CreationServiceTest extends TestCase

0 commit comments

Comments
 (0)