MDL-42775 dml: remove invalid unit test assertion

This commit is contained in:
Dan Poltawski 2013-11-08 12:23:40 +08:00
parent f9dc4bd78b
commit 356d33a866

View File

@ -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' => '')));
}