mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
Fixed test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4766 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6fe9f01c24
commit
ad2069af72
1 changed files with 0 additions and 2 deletions
|
@ -607,7 +607,6 @@ class DboSourceTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
function testGenerateAssociationQuerySelfJoinWithConditions() {
|
||||
/*
|
||||
$this->model = new TestModel4();
|
||||
$this->model->loadInfo();
|
||||
$this->_buildRelatedModels($this->model);
|
||||
|
@ -628,7 +627,6 @@ class DboSourceTest extends UnitTestCase {
|
|||
$this->assertPattern('/FROM\s+`test_model4` AS `TestModel4`\s+LEFT JOIN\s+`test_model4` AS `TestModel4Parent`/', $result);
|
||||
$this->assertPattern('/\s+ON\s+\(`TestModel4`.`parent_id` = `TestModel4Parent`.`id`\)\s+WHERE/', $result);
|
||||
$this->assertPattern('/\s+WHERE\s+(?:\()?`TestModel4Parent`.`name`\s+!=\s+\'mariano\'(?:\))?\s*$/', $result);
|
||||
*/
|
||||
|
||||
$this->Featured2 = new Featured2();
|
||||
$this->Featured2->loadInfo();
|
||||
|
|
Loading…
Reference in a new issue