MDL-73996 reportbuilder: Assert task log contains expected strings
commit898f3d0a829eacefe859d09d1420c99076f1fe36
authorJun Pataleta <jun@moodle.com>
Thu, 3 Mar 2022 03:09:59 +0000 (3 11:09 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 3 Mar 2022 03:09:59 +0000 (3 11:09 +0800)
tree16d277a9e47d6a42d99459d4e20b44e126e56e33
parent350d7b95153344d47a6383404a6256fe078d1891
MDL-73996 reportbuilder: Assert task log contains expected strings

* Ordering issues from \core_reportbuilder\local\helpers\schedule's
get_schedule_report_users() method won't guarantee that the expected
task log output will always be the same as user two can be fetched first
before user one which will cause the message to be sent to user two
first. So just get the task log's output string and make sure it
contains the expected log strings.
reportbuilder/tests/task/send_schedule_test.php