public function MessageDigestSubContext::deliverAllDigests in Message Digest 8
Delivers all message digests.
@Given all message digests have been delivered
Throws
\Exception Thrown in case an error occurred while running the cron job.
File
- ./
message_digest.behat.inc, line 151 - Contains \MessageDigestSubContext.
Class
- MessageDigestSubContext
- Behat step definitions for the Message Digest module.
Code
public function deliverAllDigests() {
$this
->expireDigestMessages();
do {
$this
->expireMessageDigestNotifiers();
$this
->getDriver()
->runCron();
} while ($this
->countAllUndeliveredDigestMessages());
}