completion is trying to modify current db, it should use test prefix, but no idea...
authorPetr Skoda <skodak@moodle.org>
Thu, 26 Aug 2010 10:01:39 +0000 (10:01 +0000)
committerPetr Skoda <skodak@moodle.org>
Thu, 26 Aug 2010 10:01:39 +0000 (10:01 +0000)
lib/simpletest/testcompletionlib.php

index 137b803..2552e5c 100644 (file)
@@ -87,7 +87,7 @@ class TimeModifiedExpectation extends SimpleExpectation {
     }
 }
 
-class completionlib_test extends UnitTestCase {
+class completionlib_test extends UnitTestCaseUsingDatabase {
 
     public static $includecoverage = array('lib/completionlib.php');
     var $realdb,$realcfg,$realsession,$realuser;