mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
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:
parent
024fc47407
commit
2a4fb7bc50
1 changed files with 5 additions and 1 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue