'password' => 'shopware',
] );
$response =
$this->browser->
getResponse();
$contextToken =
$response->headers->
get(PlatformRequest::HEADER_CONTEXT_TOKEN
) ?? '';
static::
assertNotEmpty($contextToken);
$this->browser->
setServerParameter('HTTP_SW_CONTEXT_TOKEN',
$contextToken);
$this->newAddressId =
$this->
createAddress();
} public function testSwitchBilling(): void
{ $this->browser
->
request( 'POST',
'/store-api/account/customer',
[] );