From 06d7e2b91a223804130d5f242a89e7d6b1da7798 Mon Sep 17 00:00:00 2001 From: Michael K <552911+michbeck@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:28:47 +0100 Subject: [PATCH] CC-20625: Fixed abstract data builder to accurately incorporate the seed data provided. (#10647) CC-20625 Fixed abstract data builder to accurately incorporate the seed data provided. --- .../Zed/Customer/Business/Facade/GetAddressesTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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