From b3b0eb2e6c4f17140af0c33e718f5ede3be65a16 Mon Sep 17 00:00:00 2001 From: naomi Date: Mon, 13 Sep 2021 12:46:39 +0200 Subject: [PATCH] Update 'docs/manual_tests.md' --- docs/manual_tests.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/manual_tests.md b/docs/manual_tests.md index e94a69d..2e5f0b1 100644 --- a/docs/manual_tests.md +++ b/docs/manual_tests.md @@ -72,6 +72,15 @@ * Set all the remaining trainings to status "post training materials sent" * This should automatically set the client status to "Accredited", their substatus to "Recently Accredited", and their Accreditation Date to today. +## Tests for cron hook in goodnightout_opencase.module + +* Change the accreditation date to one that's more than 3 months in the past +* Run cron +* The status should change to 3-month follow-up due and an email alert should be sen +* Change the status to "3-month follow-up sent" and change the accreditation date to one that's more than 6 months in the past +* Run cron +* The status should change to 6-month follow-up due and an email alert should be sent + # Trainings linked to projects or clients * Add a training from a client screen