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 SaleTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Gets Json String of Object Sale
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getJson()
|
||||
@@ -23,7 +22,6 @@ class SaleTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Gets Object Instance with Json data filled in
|
||||
*
|
||||
* @return Sale
|
||||
*/
|
||||
public static function getObject()
|
||||
@@ -34,7 +32,6 @@ class SaleTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Tests for Serialization and Deserialization Issues
|
||||
*
|
||||
* @return Sale
|
||||
*/
|
||||
public function testSerializationDeserialization()
|
||||
@@ -110,13 +107,12 @@ class SaleTest extends \PHPUnit_Framework_TestCase
|
||||
$mockPPRestCall->expects($this->any())
|
||||
->method('execute')
|
||||
->will($this->returnValue(
|
||||
SaleTest::getJson()
|
||||
SaleTest::getJson()
|
||||
));
|
||||
|
||||
$result = $obj->get("saleId", $mockApiContext, $mockPPRestCall);
|
||||
$this->assertNotNull($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider mockProvider
|
||||
* @param Sale $obj
|
||||
|
||||
Reference in New Issue
Block a user