mirror of
https://github.com/humhub/humhub.git
synced 2025-02-25 03:34:10 +01:00
fix assertEqualsLastEmailSubject in tests
This commit is contained in:
parent
9f032a8e7e
commit
655a8efed5
@ -159,7 +159,7 @@ class HumHubDbTestCase extends Test
|
||||
public function assertEqualsLastEmailSubject($subject)
|
||||
{
|
||||
$message = $this->getModule('Yii2')->grabLastSentEmail();
|
||||
$this->assertEquals($subject, $message->getSubject());
|
||||
$this->assertEquals($subject, str_replace(["\n", "\r"], '', $message->getSubject()));
|
||||
}
|
||||
|
||||
public function allowGuestAccess($allow = true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user