forked from LiveCarta/PayPal-PHP-SDK
Update payments API to v1.9
This commit is contained in:
committed by
jaypatel512 and sdcoffey
parent
7c5ea8b997
commit
c2947ff409
@@ -13,7 +13,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Gets Json String of Object FundingInstrument
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getJson()
|
||||
@@ -23,7 +22,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Gets Object Instance with Json data filled in
|
||||
*
|
||||
* @return FundingInstrument
|
||||
*/
|
||||
public static function getObject()
|
||||
@@ -34,7 +32,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Tests for Serialization and Deserialization Issues
|
||||
*
|
||||
* @return FundingInstrument
|
||||
*/
|
||||
public function testSerializationDeserialization()
|
||||
@@ -53,7 +50,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertNotNull($obj->getCarrierAccount());
|
||||
$this->assertNotNull($obj->getPrivateLabelCard());
|
||||
$this->assertNotNull($obj->getBilling());
|
||||
$this->assertNotNull($obj->getAlternatePayment());
|
||||
$this->assertEquals(self::getJson(), $obj->toJson());
|
||||
return $obj;
|
||||
}
|
||||
@@ -76,6 +72,5 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($obj->getCarrierAccount(), CarrierAccountTest::getObject());
|
||||
$this->assertEquals($obj->getPrivateLabelCard(), PrivateLabelCardTest::getObject());
|
||||
$this->assertEquals($obj->getBilling(), BillingTest::getObject());
|
||||
$this->assertEquals($obj->getAlternatePayment(), AlternatePaymentTest::getObject());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user