mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 02:22:39 +00:00
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:
parent
30ea0fb69b
commit
0c43266ba7
2 changed files with 5 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue