Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-01-07 03:52:42 +0300
committerGitHub <noreply@github.com>2019-01-07 03:52:42 +0300
commit4fc054b0219d4c1c35c47616536488d6ff10d0dd (patch)
tree8c27cb0ebb16adcf27803a8be9c285fbbfb31f1f /plugins/Login
parentd16f5b2de775cabcac62b518b1fa5f5908c5fd36 (diff)
Update submodules. (#13936)
* Update submodules. * Update expected files. * Fix more integration tests. * Update submodule. * Update screenshots.
Diffstat (limited to 'plugins/Login')
-rw-r--r--plugins/Login/tests/Integration/PasswordResetterTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Login/tests/Integration/PasswordResetterTest.php b/plugins/Login/tests/Integration/PasswordResetterTest.php
index 27196b3ae4..4ae99797bb 100644
--- a/plugins/Login/tests/Integration/PasswordResetterTest.php
+++ b/plugins/Login/tests/Integration/PasswordResetterTest.php
@@ -145,8 +145,8 @@ class PasswordResetterTest extends IntegrationTestCase
return [
'observers.global' => [
['Mail.send', function (Mail $mail) {
- $body = $mail->getBodyText(true);
- preg_match('/resetToken=3D([a-zA-Z0-9=\s]+?)=0A/', $body, $matches);
+ $body = $mail->getBodyHtml(true);
+ preg_match('/resetToken=3D([a-zA-Z0-9=\s]+?)<\/p>/', $body, $matches);
$capturedToken = $matches[1];
$capturedToken = preg_replace('/=\s*/', '', $capturedToken);
$this->capturedToken = $capturedToken;