Merge pull request #1099 from djbobke/2.4-crudauthorizetest

Fix CrudAuthorizeTest, added Router::reload() in setUp
This commit is contained in:
José Lorenzo Rodríguez 2013-01-29 12:39:41 -08:00
commit 7392138c49

View file

@ -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');