Skip to content

Commit 40c9950

Browse files
Fix typo
1 parent b9bd060 commit 40c9950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/resetPassword/Test.ResetPasswordController.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function testResetPasswordController(): void
7272
// Test the link sent in the email is valid
7373
/** @var array<TemplatedEmail> $messages */
7474
$email = $messages[0]->getTextBody();
75-
self::assertIsString($emailBody);
75+
self::assertIsString($email);
7676
preg_match('#(/reset-password/reset/[a-zA-Z0-9]+)#', $email, $resetLink);
7777

7878
$this->client->request('GET', $resetLink[1]);

0 commit comments

Comments
 (0)