Adding user check fix for AuthComponent::isAuthorized(), and removing comments from Model test (Ticket #2381)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4833 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-04-10 16:48:45 +00:00
parent 30ea0fb69b
commit 0c43266ba7
2 changed files with 5 additions and 7 deletions

View file

@ -733,10 +733,6 @@ class ModelTest extends CakeTestCase {
'hasAndBelongsToMany'=>array('Tag'))
);
// UNCOMMENT THE FOLLOWING LINE TO MAKE TEST SUCCEED:
//
// $this->Featured->ArticleFeatured->unbindModel(array('belongsTo'=>array('Category')));
$orderBy = 'ArticleFeatured.id ASC';
$result = $this->Featured->findAll(null, null, $orderBy, 3);