From b151eda69e314ca4d68427e28e739f7ceb6b8724 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Sat, 7 Apr 2007 06:42:08 +0000 Subject: [PATCH] Fixed test git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4813 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/model/datasources/dbo_source.test.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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);