Dev#31762 workflow notifications 2 notifications aussi pour les statuts de workflow personnalises
Merged
requested to merge dev#31762_workflow_notifications_2_notifications_aussi_pour_les_statuts_de_workflow_personnalises into WIP
Merge request reports
Activity
Filter activity
1839 1840 /** @test */ 1841 public function newArticleSavedWithStatusPendingShouldSendMailToGroupTestingWithRights() { 1842 1843 Class_Permission::findDynamicWorkflow(12) 1844 ->permitTo($this->_group_testing, $this->_cat_a_la_une); 1845 1846 1847 $this->_postDataTo(['status' => Class_Article::STATUS_VALIDATION_PENDING], 1848 '/admin/cms/add/id_cat/23'); 1849 1850 $this->assertEquals(['admin@afi-sa.fr'], 1851 $this->mock_transport->getSentMails()[0]->getRecipients()); 1852 1853 return quoted_printable_decode($this->mock_transport->getSentMails()[0]->getBodyText()->getContent()); 1854 }
Please register or sign in to reply