mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-23997 new tests for bound query compatibility - reverting text comparison, we need param type hints for that
This commit is contained in:
parent
78b3faa98c
commit
2a72392d59
@ -2856,6 +2856,8 @@ class dml_test extends UnitTestCase {
|
||||
$this->assertEqual(1, count($records));
|
||||
$this->assertTrue($records = $DB->get_records($tablename, array('name' => '2')));
|
||||
$this->assertEqual(1, count($records));
|
||||
|
||||
/* TODO: we need param type hints to make this work
|
||||
$this->assertTrue($records = $DB->get_records($tablename, array('content' => '1')));
|
||||
$this->assertEqual(1, count($records));
|
||||
$this->assertTrue($records = $DB->get_records($tablename, array('content' => 1)));
|
||||
@ -2864,6 +2866,7 @@ class dml_test extends UnitTestCase {
|
||||
$this->assertEqual(1, count($records));
|
||||
$this->assertTrue($records = $DB->get_records($tablename, array('content' => '2')));
|
||||
$this->assertEqual(1, count($records));
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user