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:
mariano.iglesias 2007-04-05 00:07:30 +00:00
parent 6fe9f01c24
commit ad2069af72

View file

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