'id' =>
$this->ids->
create('sales-channel'
),
]);
$this->browser->
setServerParameter('HTTP_SW_CONTEXT_TOKEN',
$this->ids->
create('token'
));
$this->productRepository =
$this->
getContainer()->
get('product.repository'
);
$this->customerRepository =
$this->
getContainer()->
get('customer.repository'
);
$this->taxProviderRepository =
$this->
getContainer()->
get('tax_provider.repository'
);
PreparedTestPaymentHandler::
$preOrderPaymentStruct = null;
PreparedTestPaymentHandler::
$fail = false;
$this->
createTestData();
} public function testOrderNotLoggedIn(): void
{ $this->browser
->
request( 'POST',
'/store-api/checkout/order'
);
static::
assertNotFalse($this->browser->
getResponse()->
getContent());