Revert "MDL-34894 course ws unit tests: fix windows problem."
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 8 Oct 2012 20:54:33 +0000 (22:54 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 8 Oct 2012 20:54:33 +0000 (22:54 +0200)
This reverts commit 40d651bbbb20b4373b6b56e4e09c90b30ff86484.

With MDL-35714, each test gets gc_collect_cycles() called, so
no need to call it "manually".

course/tests/externallib_test.php

index 605c5d8..984b9ed 100644 (file)
@@ -580,6 +580,5 @@ class core_course_external_testcase extends externallib_advanced_testcase {
 
         // Check that the course has been duplicated.
         $this->assertEquals($newcourse['shortname'], $duplicate['shortname']);
-        gc_collect_cycles();
     }
 }