Fixed test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4813 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-04-07 06:42:08 +00:00
parent d0c8cde9ab
commit b151eda69e

View file

@ -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);