MDL-26333 dml - fix test (AS not in tables/views)

This commit is contained in:
Eloy Lafuente (stronk7)
2011-02-09 18:21:37 +01:00
parent f30a13ab2b
commit d911c72bf9
+1 -1
View File
@@ -3709,7 +3709,7 @@ class dml_test extends UnitTestCase {
LEFT JOIN (
SELECT t.id, t.name
FROM {{$tablename}} t
) AS t2 ON t2.name = t.name
) t2 ON t2.name = t.name
GROUP BY t.name
ORDER BY t.name ASC";
$this->assertTrue($records = $DB->get_records_sql($sqlqm));