export mail : make it event oriented to facilitate worker treatement

This commit is contained in:
aynsix
2019-09-20 16:15:49 +04:00
parent c712cb7cc3
commit 65d7affcb5
5 changed files with 137 additions and 34 deletions

View File

@@ -165,7 +165,8 @@ class ExportTest extends \PhraseanetAuthenticatedWebTestCase
*/
public function testExportMail()
{
$this->mockNotificationDeliverer('Alchemy\Phrasea\Notification\Mail\MailRecordsExport');
// deliver method removed in the listener
// $this->mockNotificationDeliverer('Alchemy\Phrasea\Notification\Mail\MailRecordsExport');
$this->getClient()->request('POST', '/prod/export/mail/', [
'lst' => $this->getRecord1()->getId(),