Skip to content

Commit

Permalink
Add createdVia to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Jan 23, 2023
1 parent 41c6c4f commit 499168a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/wpunit/OrderMutationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public function testCreateOrderMutation() {
),
'paymentMethod' => 'bacs',
'paymentMethodTitle' => 'Direct Bank Transfer',
'createdVia' => 'Headless Checkout',
'billing' => array(
'firstName' => 'May',
'lastName' => 'Parker',
Expand Down Expand Up @@ -480,6 +481,7 @@ public function testUpdateOrderMutation() {
),
'paymentMethod' => 'bacs',
'paymentMethodTitle' => 'Direct Bank Transfer',
'createdVia' => 'Headless Checkout',
'billing' => array(
'firstName' => 'May',
'lastName' => 'Parker',
Expand Down Expand Up @@ -803,6 +805,7 @@ public function testDeleteOrderMutation() {
),
'paymentMethod' => 'bacs',
'paymentMethodTitle' => 'Direct Bank Transfer',
'createdVia' => 'Headless Checkout',
'billing' => array(
'firstName' => 'May',
'lastName' => 'Parker',
Expand Down Expand Up @@ -954,6 +957,7 @@ public function testDeleteOrderItemsMutation() {
),
'paymentMethod' => 'bacs',
'paymentMethodTitle' => 'Direct Bank Transfer',
'createdVia' => 'Headless Checkout',
'billing' => array(
'firstName' => 'May',
'lastName' => 'Parker',
Expand Down

0 comments on commit 499168a

Please sign in to comment.