forked from LiveCarta/PayPal-PHP-SDK
Enabled EC Parameters support
- Updated Api to enabled EC Parameters - Updated Tests - Updated Logging Manager - Added a feature to do validation on accessors.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
use PayPal\Exception\PPConnectionException;
|
||||
|
||||
/**
|
||||
* Test class for PPConnectionException.
|
||||
*
|
||||
@@ -34,15 +35,16 @@ class PPConnectionExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testGetUrl()
|
||||
{
|
||||
$this->assertEquals('http://testURL', $this->object->getUrl());
|
||||
$this->assertEquals('http://testURL', $this->object->getUrl());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function testGetData()
|
||||
public function testGetData()
|
||||
{
|
||||
$this->assertEquals('response payload for connection', $this->object->getData());
|
||||
$this->assertEquals('response payload for connection', $this->object->getData());
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user