diff --git a/lib/dml/tests/dml_test.php b/lib/dml/tests/dml_test.php index e0858d0f2a2..146f615914e 100644 --- a/lib/dml/tests/dml_test.php +++ b/lib/dml/tests/dml_test.php @@ -3781,8 +3781,6 @@ class core_dml_testcase extends database_driver_testcase { $this->assertNull($DB->get_field_sql($sql, array('paramvalue' => null))); // Check there are not problems with whitespace strings. - $sql = "SELECT COALESCE(null, '', null) AS test" . $DB->sql_null_from_clause(); - $this->assertSame('', $DB->get_field_sql($sql, array())); $sql = "SELECT COALESCE(null, :paramvalue, null) AS test" . $DB->sql_null_from_clause(); $this->assertSame('', $DB->get_field_sql($sql, array('paramvalue' => ''))); }