mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
parent
da6a5fa301
commit
63902ab73f
1 changed files with 6 additions and 0 deletions
|
@ -2395,6 +2395,12 @@ class DboSourceTest extends CakeTestCase {
|
|||
$result = $this->testDb->conditions($conditions);
|
||||
$expected = " WHERE `Artist`.`name` = 'JUDY AND MARY'";
|
||||
$this->assertEqual($result, $expected);
|
||||
|
||||
$conditions = array('Company.name similar to ' => 'a word');
|
||||
$result = $this->testDb->conditions($conditions);
|
||||
$expected = " WHERE `Company`.`name` similar to 'a word'";
|
||||
$this->assertEqual($result, $expected);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue