diff --git a/tests/SprykerTest/Zed/Customer/Business/Facade/GetAddressesTest.php b/tests/SprykerTest/Zed/Customer/Business/Facade/GetAddressesTest.php index 7d088873..69816a90 100644 --- a/tests/SprykerTest/Zed/Customer/Business/Facade/GetAddressesTest.php +++ b/tests/SprykerTest/Zed/Customer/Business/Facade/GetAddressesTest.php @@ -22,6 +22,11 @@ */ class GetAddressesTest extends AbstractCustomerAddressFacadeTest { + /** + * @var string + */ + protected const TEST_EMAIL_ADDRESS = 'test@email.com'; + /** * @return void */ @@ -30,7 +35,12 @@ public function testGetAddressesHasCountry(): void // Arrange $customerTransfer = $this->tester->haveCustomer([ CustomerTransfer::PASSWORD => 'testPassword', + CustomerTransfer::EMAIL => static::TEST_EMAIL_ADDRESS, + CustomerTransfer::SHIPPING_ADDRESS => [ + CustomerTransfer::EMAIL => static::TEST_EMAIL_ADDRESS, + ], ]); + $this->customerFacade->createAddressAndUpdateCustomerDefaultAddresses($customerTransfer->getShippingAddress()[0]); // Act