From 356d33a86612adeda1e102727f9bae52fb0c3337 Mon Sep 17 00:00:00 2001 From: Dan Poltawski <dan@moodle.com> Date: Fri, 8 Nov 2013 12:23:40 +0800 Subject: [PATCH] MDL-42775 dml: remove invalid unit test assertion --- lib/dml/tests/dml_test.php | 2 -- 1 file changed, 2 deletions(-) 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' => ''))); }