use LineItemTestFixtureBehaviour;
use SalesChannelFunctionalTestBehaviour;
private KernelBrowser
$browser;
protected function setUp(): void
{ $this->browser =
$this->
createCustomSalesChannelBrowser([ 'id' => TestDefaults::SALES_CHANNEL,
'languages' =>
[],
]);
$this->
assignSalesChannelContext($this->browser
);
} public function testUpdateRemoteAddressByLogin(): void
{ $email = Uuid::
randomHex() . '@example.com';
$customerId =
$this->
login($email);
$remoteAddress =
$this->browser->
getRequest()->
getClientIp();
$customer =
$this->
fetchCustomerById($customerId);