MDL-44251 fix typo in DML unit tests.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 20 Feb 2014 12:16:03 +0000 (12:16 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Sun, 2 Mar 2014 08:41:17 +0000 (09:41 +0100)
lib/dml/tests/dml_test.php

index add9eb7..4df8204 100644 (file)
@@ -48,7 +48,7 @@ class core_dml_testcase extends database_driver_testcase {
 
         $table = new xmldb_table($tablename);
         $table->setComment("This is a test'n drop table. You can drop it safely");
-        return new xmldb_table($tablename);
+        return $table;
     }
 
     public function test_diagnose() {