diff --git a/cake/tests/cases/libs/model/datasources/dbo_source.test.php b/cake/tests/cases/libs/model/datasources/dbo_source.test.php index 189f7d9c0..6569e7507 100644 --- a/cake/tests/cases/libs/model/datasources/dbo_source.test.php +++ b/cake/tests/cases/libs/model/datasources/dbo_source.test.php @@ -1418,12 +1418,10 @@ class DboSourceTest extends UnitTestCase { $expected = array('TestModel.field_name' => '= value'); $this->assertEqual($result, $expected); - /*$this->db->fullDebug = true; $result = $this->db->query('findAllById', array('a'), $this->model); - $expected = array('TestModel.id' => '= value'); + $expected = array('TestModel.id' => '= a'); $this->assertEqual($result, $expected); - $this->db->fullDebug = false;*/ - + $result = $this->db->query('findByFieldName', array(array('value1', 'value2', 'value3')), $this->model); $expected = array('TestModel.field_name' => array('value1', 'value2', 'value3')); $this->assertEqual($result, $expected);