Permalink
Browse files

MDL-34894 course ws unit tests: fix windows problem.

This fixes a weird windows-only failure, as explained in the tracker
issue.
  • Loading branch information...
1 parent 5d6285c commit 954c272e548c0578fde9d1bc0979ac46b72bc3b9 @timhunt timhunt committed Sep 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/tests/externallib_test.php
@@ -580,5 +580,6 @@ public function test_duplicate_course() {
// Check that the course has been duplicated.
$this->assertEquals($newcourse['shortname'], $duplicate['shortname']);
+ gc_collect_cycles();
}
}

0 comments on commit 954c272

Please sign in to comment.