mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Merge pull request #1099 from djbobke/2.4-crudauthorizetest
Fix CrudAuthorizeTest, added Router::reload() in setUp
This commit is contained in:
commit
7392138c49
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class CrudAuthorizeTest extends CakeTestCase {
|
|||
public function setUp() {
|
||||
parent::setUp();
|
||||
Configure::write('Routing.prefixes', array());
|
||||
Router::reload();
|
||||
|
||||
$this->Acl = $this->getMock('AclComponent', array(), array(), '', false);
|
||||
$this->Components = $this->getMock('ComponentCollection');
|
||||
|
|
Loading…
Add table
Reference in a new issue