mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Add order status CREATED
to order processor check
This commit is contained in:
parent
77230fefa8
commit
8a0b439e5f
3 changed files with 12 additions and 9 deletions
|
@ -306,6 +306,10 @@ class OrderProcessorTest extends TestCase
|
|||
->expects('is')
|
||||
->with(OrderStatus::APPROVED)
|
||||
->andReturn(false);
|
||||
$orderStatus
|
||||
->expects('is')
|
||||
->with(OrderStatus::CREATED)
|
||||
->andReturn(false);
|
||||
$orderId = 'abc';
|
||||
$orderIntent = 'CAPTURE';
|
||||
$currentOrder = Mockery::mock(Order::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue