mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Fix phpunit
This commit is contained in:
parent
b98f59b4ed
commit
84e3bcdb5c
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ class WcGatewayTest extends TestCase
|
||||||
->andReturnFalse();
|
->andReturnFalse();
|
||||||
$this->orderProcessor
|
$this->orderProcessor
|
||||||
->expects('last_error')
|
->expects('last_error')
|
||||||
|
->twice()
|
||||||
->andReturn($lastError);
|
->andReturn($lastError);
|
||||||
$this->subscriptionHelper->shouldReceive('has_subscription')->with($orderId)->andReturn(true);
|
$this->subscriptionHelper->shouldReceive('has_subscription')->with($orderId)->andReturn(true);
|
||||||
$this->subscriptionHelper->shouldReceive('is_subscription_change_payment')->andReturn(true);
|
$this->subscriptionHelper->shouldReceive('is_subscription_change_payment')->andReturn(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue