MDL-38989 detect changed timeout in tests

The trouble is that PHPUnit should ideally test mostly low level libraries that should not change the timeouts.
This commit is contained in:
Petr Škoda
2013-04-10 09:48:57 +02:00
parent 95cd4369bb
commit 71fc50031d
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ abstract class advanced_testcase extends PHPUnit_Framework_TestCase {
phpunit_util::reset_all_database_sequences();
phpunit_util::$lastdbwrites = $DB->perf_get_writes(); // no db reset necessary
}
phpunit_util::reset_all_data();
phpunit_util::reset_all_data(null);
} else if ($this->resetAfterTest === false) {
if ($this->testdbtransaction) {