adding new testcases for Auth Capture

This commit is contained in:
Ganesh Hegde
2013-05-28 18:20:40 +05:30
parent fd997f6b8b
commit 479730d1c4
3 changed files with 112 additions and 10 deletions

View File

@@ -1,11 +1,9 @@
<?php
namespace PayPal\Test\Api;
use PayPal\Api\Address;
use PayPal\Api\CreditCard;
use PayPal\Test\Constants;
class CreditCardTest extends \PHPUnit_Framework_TestCase {
private $cards;
@@ -91,5 +89,6 @@ class CreditCardTest extends \PHPUnit_Framework_TestCase {
$this->assertGreaterThan(0, count($c2->getLinks()));
$this->assertEquals(self::$cardType, $c2->getType());
$this->assertNotNull($c2->getState());
$this->assertEquals(true, $c2->delete());
}
}