pcp-37 / return to checkout after three times trying but returned with insufficient funds error

This commit is contained in:
David Remer 2020-09-02 08:43:41 +03:00
parent ae12409454
commit 00389dac84
6 changed files with 54 additions and 5 deletions

View file

@ -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(