Skip to content

Commit

Permalink
MDL-60957 mod_assign: Fix unit test coverage issue
Browse files Browse the repository at this point in the history
  • Loading branch information
djarran committed Jul 2, 2024
1 parent 621ddd3 commit d1c7478
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mod/assign/tests/locallib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,14 @@ public function test_plugin_settings(): void {
$this->assertEquals('12', $plugin->get_config('maxfilesubmissions'));
}

/**
* Test calendar event creation for extension due date.
*
* @covers \assign::save_user_extension
*/
public function test_save_user_extension_calendar_event(): void {
global $DB, $CFG;
require_once($CFG->dirroot.'/calendar/lib.php');
require_once($CFG->dirroot.'/calendar/lib.php');

$this->resetAfterTest();

Expand Down

0 comments on commit d1c7478

Please sign in to comment.