mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-34894 course ws unit tests: fix windows problem.
This fixes a weird windows-only failure, as explained in the tracker issue.
This commit is contained in:
parent
5d6285c220
commit
954c272e54
1 changed files with 1 additions and 0 deletions
|
@ -580,5 +580,6 @@ class core_course_external_testcase extends externallib_advanced_testcase {
|
||||||
|
|
||||||
// Check that the course has been duplicated.
|
// Check that the course has been duplicated.
|
||||||
$this->assertEquals($newcourse['shortname'], $duplicate['shortname']);
|
$this->assertEquals($newcourse['shortname'], $duplicate['shortname']);
|
||||||
|
gc_collect_cycles();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue