Open opitz opened 1 year ago
I think it would be better to setup the $course, $userteacher, $userstudents and the global $USER variable in the setUp() function rather to have them setup in each test.
I think it would be better to setup the $course, $userteacher, $userstudents and the global $USER variable in the setUp() function rather to have them setup in each test.
But it would limit the flexibility of adding new tests which do not require the same setup, so I am fine with the fix. 😄
setting userteacher as user in tests before messenger::compose or messenger::save_compose_draft, restoring doubledollar in line 89 of submits_compose_message_form.php. This will fix issue #71.