Identified line that allows bakery issue test to succeed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4724 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-04-01 04:50:06 +00:00
parent 024fc47407
commit 2a4fb7bc50

View file

@ -575,7 +575,7 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected);
}
function testRecursiveFindAll() {
function testRecursiveFin7dAll() {
$this->model =& new Article();
$result = $this->model->findAll(array('Article.user_id' => 1));
@ -666,6 +666,10 @@ class ModelTest extends CakeTestCase {
$this->Article->unbindModel(array('hasMany' => array('Attachment', 'Leaf', 'Rating', 'Comment'), 'hasAndBelongsToMany'=>array('Tag')));
// UNCOMMENT THE FOLLOWING LINE TO MAKE TEST SUCCEED:
//
// $this->Article->unbindModel(array('belongsTo'=>array('Category')));
$result = $this->Article->Featured->findAll(null, null, $orderBy, 3);
$expected = array (