Skip to content

Commit

Permalink
Fixing FormAuthenticate test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 5, 2011
1 parent cacbab1 commit 98c8cda
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -14,11 +14,11 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

App::import('Component', 'Auth');
App::import('Component', 'auth/form_authenticate');
App::import('Model', 'AppModel');
App::import('Core', 'CakeRequest');
App::import('Core', 'CakeResponse');
App::uses('AuthComponent', 'Controller/Component');
App::uses('FormAuthenticate', 'Controller/Component/Auth');
App::uses('AppModel', 'Model');
App::uses('CakeRequest', 'Network');
App::uses('CakeResponse', 'Network');

require_once CAKE_TESTS . 'cases' . DS . 'libs' . DS . 'model' . DS . 'models.php';

Expand Down Expand Up @@ -155,7 +155,7 @@ function testAuthenticateScopeFail() {
function testPluginModel() {
Cache::delete('object_map', '_cake_core_');
App::build(array(
'plugins' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'plugins' . DS),
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS),
), true);
App::objects('plugin', null, false);

Expand Down

0 comments on commit 98c8cda

Please sign in to comment.