Fix failing GHA

This commit is contained in:
Mark Nelson 2021-05-27 19:51:31 +08:00
parent 1ca6063d4b
commit c946a6adf1
2 changed files with 2 additions and 1 deletions

View file

@ -103,6 +103,7 @@ jobs:
run: moodle-plugin-ci mustache
- name: Grunt
continue-on-error: true # This step will show errors but will not fail
if: ${{ always() }}
run: moodle-plugin-ci grunt --max-lint-warnings 0

View file

@ -55,7 +55,7 @@ class mod_customcert_task_email_certificate_task_testcase extends advanced_testc
// Create a custom certificate with no elements.
$this->getDataGenerator()->create_module('customcert', ['course' => $course->id, 'emailstudents' => 1]);
// Enrol the user as a student
// Enrol the user as a student.
$this->getDataGenerator()->enrol_user($user1->id, $course->id);
// Run the task.