diff options
author | Andreas Gohr <andi@splitbrain.org> | 2019-05-19 10:48:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 10:48:22 +0200 |
commit | b8c09b6854c4210a9c9fef089a48f5320420d469 (patch) | |
tree | 75380e7d4dce97ebd1c8560e18cc26535c48a232 /_test/mock | |
parent | 749c002394774d4323466fa0c9370aa913b1849d (diff) | |
parent | 451969ab7559b14e82720d165019a94010752965 (diff) | |
download | dokuwiki-b8c09b6854c4210a9c9fef089a48f5320420d469.tar.gz dokuwiki-b8c09b6854c4210a9c9fef089a48f5320420d469.zip |
Merge pull request #2759 from splitbrain/refactorSubscriptions
Refactor subscriptions
Diffstat (limited to '_test/mock')
-rw-r--r-- | _test/mock/MailerMock.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/_test/mock/MailerMock.php b/_test/mock/MailerMock.php new file mode 100644 index 000000000..9d93bc25a --- /dev/null +++ b/_test/mock/MailerMock.php @@ -0,0 +1,16 @@ +<?php + +namespace dokuwiki\test\mock; + +class MailerMock extends \Mailer +{ + + public $mails = []; + + public function send() + { + $this->mails[] = $this->headers; + return true; + } + +} |