Skip to content

Commit

Permalink
#28570: createCustomer does not match validation requirements (static…
Browse files Browse the repository at this point in the history
… test fix)
  • Loading branch information
michalderlatka committed Jul 7, 2020
1 parent b5208cd commit 0f7d805
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,9 @@ public function testCreateCustomerSubscribed()
public function testCreateCustomerIfCustomerWithProvidedEmailAlreadyExists()
{
$this->expectException(\Exception::class);
$this->expectExceptionMessage('A customer with the same email address already exists in an associated website.');
$this->expectExceptionMessage(
'A customer with the same email address already exists in an associated website.'
);

$existedEmail = 'customer@example.com';
$password = 'test123#';
Expand Down

0 comments on commit 0f7d805

Please sign in to comment.