forked from LiveCarta/PayPal-PHP-SDK
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
namespace PayPal\Test\Common;
|
||||
|
||||
use PayPal\Common\ArrayUtil;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ArrayUtilTest extends \PHPUnit_Framework_TestCase
|
||||
class ArrayUtilTest extends TestCase
|
||||
{
|
||||
|
||||
public function testIsAssocArray()
|
||||
|
||||
@@ -10,8 +10,9 @@ use PayPal\Api\Tax;
|
||||
use PayPal\Common\PayPalModel;
|
||||
use PayPal\Converter\FormatConverter;
|
||||
use PayPal\Test\Validation\NumericValidatorTest;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class FormatConverterTest extends \PHPUnit_Framework_TestCase
|
||||
class FormatConverterTest extends TestCase
|
||||
{
|
||||
|
||||
public static function classMethodListProvider()
|
||||
|
||||
@@ -4,8 +4,9 @@ namespace PayPal\Test\Common;
|
||||
use PayPal\Api\Payment;
|
||||
use PayPal\Common\PayPalModel;
|
||||
use PayPal\Core\PayPalConfigManager;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ModelTest extends \PHPUnit_Framework_TestCase
|
||||
class ModelTest extends TestCase
|
||||
{
|
||||
|
||||
public function testSimpleClassConversion()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SimpleModelTestClass extends PayPalModel
|
||||
{
|
||||
@@ -145,7 +146,7 @@ class ListModelTestClass extends PayPalModel
|
||||
* Test class for PayPalModel.
|
||||
*
|
||||
*/
|
||||
class PayPalModelTest extends PHPUnit_Framework_TestCase
|
||||
class PayPalModelTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
use PayPal\Common\PayPalUserAgent;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class UserAgentTest extends PHPUnit_Framework_TestCase
|
||||
class UserAgentTest extends TestCase
|
||||
{
|
||||
|
||||
public function testGetValue()
|
||||
|
||||
Reference in New Issue
Block a user