Fixed an issue where scheduled messages were not being sent (#94)
Add/remove rule scheduler depending on the status of the parent rule (#98) Added a phpunit.xml.dist file. Added a bootstrap.php file for unit tests. Cron will now de-activate a rule (message) once it has been added to the queue. Fixed an issue where the ScheduledRuleProcessor worker would the incorrect entity type. Renamed test trait createRules to createUserRoleRules. Added tests for rule schedule entity creation and deletion depending on parent rule status. Injected event manager service into ScheduledRuleProcessor. Added extra guards in ScheduledRuleProcessor in case the rule schedule entity was deleted. Added guards to template collection action to make sure it has correct context.
parent
41780bc9
Please register or sign in to comment