diff options
Diffstat (limited to 'plugins/Login/tests/Integration/PasswordResetterTest.php')
-rw-r--r-- | plugins/Login/tests/Integration/PasswordResetterTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Login/tests/Integration/PasswordResetterTest.php b/plugins/Login/tests/Integration/PasswordResetterTest.php index 607316f91f..f3603c7aca 100644 --- a/plugins/Login/tests/Integration/PasswordResetterTest.php +++ b/plugins/Login/tests/Integration/PasswordResetterTest.php @@ -203,6 +203,7 @@ class PasswordResetterTest extends IntegrationTestCase 'observers.global' => [ ['Mail.send', function (Mail $mail) { $body = $mail->getBodyHtml(true); + $body = preg_replace('/=\n/', '', $body); preg_match('/resetToken[=\s]*3D([a-zA-Z0-9=\s]+)<\/p>/', $body, $matches); if (!empty($matches[1])) { $capturedToken = $matches[1]; |