From c3a994aeef9d06372efbf0dba9463abd76774f6e Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Tue, 24 Sep 2013 20:53:49 +1000 Subject: [PATCH] MDL-41937 tests: reset time limit after test --- backup/util/plan/tests/step_test.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup/util/plan/tests/step_test.php b/backup/util/plan/tests/step_test.php index 44afd8d74c1..ed7a70b94a1 100644 --- a/backup/util/plan/tests/step_test.php +++ b/backup/util/plan/tests/step_test.php @@ -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); } /**