mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
d0c8cde9ab
commit
b151eda69e
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue