diff --git a/tests/PHPUnit/ApiClient/Endpoint/OrderEndpointTest.php b/tests/PHPUnit/ApiClient/Endpoint/OrderEndpointTest.php index b64e3c34c..e5a003c84 100644 --- a/tests/PHPUnit/ApiClient/Endpoint/OrderEndpointTest.php +++ b/tests/PHPUnit/ApiClient/Endpoint/OrderEndpointTest.php @@ -876,6 +876,7 @@ class OrderEndpointTest extends TestCase $purchaseUnit ->expects('to_array') ->andReturn(['singlePurchaseUnit']); + $purchaseUnit->expects('shipping')->andReturn(true); expect('wp_remote_get') ->andReturnUsing( @@ -978,6 +979,7 @@ class OrderEndpointTest extends TestCase $purchaseUnit ->expects('to_array') ->andReturn(['singlePurchaseUnit']); + $purchaseUnit->expects('shipping')->andReturn(true); expect('wp_remote_get') ->andReturnUsing( @@ -1051,6 +1053,7 @@ class OrderEndpointTest extends TestCase $purchaseUnit ->expects('to_array') ->andReturn(['singlePurchaseUnit']); + $purchaseUnit->expects('shipping')->andReturn(true); expect('wp_remote_get') ->andReturnUsing( @@ -1134,6 +1137,7 @@ class OrderEndpointTest extends TestCase $purchaseUnit ->expects('to_array') ->andReturn(['singlePurchaseUnit']); + $purchaseUnit->expects('shipping')->andReturn(true); expect('wp_remote_get') ->andReturnUsing( diff --git a/tests/PHPUnit/WcGateway/Repository/CartRepositoryTest.php b/tests/PHPUnit/WcGateway/Repository/CartRepositoryTest.php deleted file mode 100644 index db8cc6322..000000000 --- a/tests/PHPUnit/WcGateway/Repository/CartRepositoryTest.php +++ /dev/null @@ -1,15 +0,0 @@ -