Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mamazu authored and lchrusciel committed Jan 4, 2019
1 parent 2d6deaa commit 98f9981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Controller/CheckoutCompleteOrderApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function it_allows_to_complete_checkout_without_email_for_logged_in_custo
*/
public function it_does_not_allow_to_complete_order_in_non_existent_channel()
{
$this->loadFixturesFromFiles(['shop.yml', 'country.yml', 'shipping.yml', 'payment.yml']);
$this->loadFixturesFromFiles(['shop.yml', 'country.yml', 'shipping.yml', 'payment.yml', 'customer.yml']);

$token = 'SDAOSLEFNWU35H3QLI5325';

Expand Down Expand Up @@ -218,7 +218,7 @@ public function it_does_not_allow_to_complete_order_in_non_existent_channel()
"email": "example@cusomer.com"
}
EOT;
$this->client->request('PUT', sprintf('/shop-api/SPACE_KLINGON/checkout/%s/complete', $token), [], [], [
$this->client->request('PUT', sprintf('/shop-api/WEB_GB/checkout/%s/complete', $token), [], [], [
'CONTENT_TYPE' => 'application/json',
'ACCEPT' => 'application/json',
], $data);
Expand Down

0 comments on commit 98f9981

Please sign in to comment.