Permalink
Browse files

require models.php to avoid fatal error when running AllComponentsTest

  • Loading branch information...
1 parent fcb7714 commit a0d78edb713501fe5a1d6fe86d41f2ff9a8da64c @ceeram ceeram committed Apr 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Test/Case/Controller/Component/Acl/DbAclTest.php
@@ -22,6 +22,7 @@
App::uses('DbAcl', 'Controller/Component/Acl');
App::uses('AclNode', 'Model');
App::uses('Permission', 'Model');
+require_once dirname(dirname(dirname(dirname(__FILE__)))) . DS . 'Model' . DS . 'models.php';
/**
* AclNodeTwoTestBase class

0 comments on commit a0d78ed

Please sign in to comment.