simplify mail creation

This commit is contained in:
nupplaPhil 2020-02-04 21:04:08 +01:00
parent 9f95b975b4
commit 0b94b84dc7
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
8 changed files with 32 additions and 25 deletions

View file

@ -88,7 +88,7 @@ class MailBuilderTest extends MockedTest
->withMessage('Subject', 'Html', 'text')
->withRecipient('recipient@friendica.local')
->withSender('Sender', 'sender@friendica.local', 'no-reply@friendica.local')
->forUser(100)
->forUser(['uid' => 100])
->build(true);
$this->assertEmail($testEmail, [