MDL-41937 tests: reset time limit after test
authorMarina Glancy <marina@moodle.com>
Tue, 24 Sep 2013 10:53:49 +0000 (20:53 +1000)
committerMarina Glancy <marina@moodle.com>
Tue, 24 Sep 2013 10:53:49 +0000 (20:53 +1000)
backup/util/plan/tests/step_test.php

index 44afd8d..ed7a70b 100644 (file)
@@ -132,6 +132,9 @@ class backup_step_testcase extends advanced_testcase {
 
         // Remove the test dir and any content
         @remove_dir(dirname($file));
+
+        // Clear the time limit, otherwise PHPUnit complains.
+        set_time_limit(0);
     }
 
     /**