Skip to content

Commit

Permalink
CC-20625: Fixed abstract data builder to accurately incorporate the s…
Browse files Browse the repository at this point in the history
…eed data provided. (#10647)

CC-20625 Fixed abstract data builder to accurately incorporate the seed data provided.
  • Loading branch information
michbeck authored Nov 18, 2024
1 parent 5fb3529 commit 06d7e2b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
*/
class GetAddressesTest extends AbstractCustomerAddressFacadeTest
{
/**
* @var string
*/
protected const TEST_EMAIL_ADDRESS = '[email protected]';

/**
* @return void
*/
Expand All @@ -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
Expand Down

0 comments on commit 06d7e2b

Please sign in to comment.