Add order status CREATED to order processor check

This commit is contained in:
dinamiko 2022-06-07 12:17:35 +02:00
parent 77230fefa8
commit 8a0b439e5f
3 changed files with 12 additions and 9 deletions

View file

@ -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);