mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
pcp-37 / return to checkout after three times trying but returned with insufficient funds error
This commit is contained in:
parent
ae12409454
commit
00389dac84
6 changed files with 54 additions and 5 deletions
|
@ -37,6 +37,8 @@ class WcGatewayTest extends TestCase
|
|||
$authorizedOrderActionNotice = Mockery::mock(AuthorizeOrderActionNotice::class);
|
||||
$settings = Mockery::mock(Settings::class);
|
||||
$sessionHandler = Mockery::mock(SessionHandler::class);
|
||||
$sessionHandler
|
||||
->shouldReceive('destroy_session_data');
|
||||
$settings
|
||||
->shouldReceive('has')->andReturnFalse();
|
||||
$testee = new PayPalGateway(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue