mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Add API for easy programmatic capture
This commit is contained in:
parent
b62072c537
commit
d40d01a4f4
9 changed files with 577 additions and 58 deletions
|
@ -47,7 +47,7 @@ class IdentityTokenTest extends TestCase
|
|||
public function testGenerateForCustomerReturnsToken()
|
||||
{
|
||||
$id = 1;
|
||||
define( 'PPCP_FLAG_SUBSCRIPTION', true );
|
||||
!defined('PPCP_FLAG_SUBSCRIPTION') && define('PPCP_FLAG_SUBSCRIPTION', true);
|
||||
$token = Mockery::mock(Token::class);
|
||||
$token
|
||||
->expects('token')->andReturn('bearer');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue