From 9eec598ca9a8ac56974067dc616df625e18ca355 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 20 Feb 2014 12:16:03 +0000 Subject: [PATCH] MDL-44251 fix typo in DML unit tests. --- lib/dml/tests/dml_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dml/tests/dml_test.php b/lib/dml/tests/dml_test.php index add9eb70bce..4df8204e1f1 100644 --- a/lib/dml/tests/dml_test.php +++ b/lib/dml/tests/dml_test.php @@ -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() {