Permalink
Browse files

Correcting App::import usage

  • Loading branch information...
1 parent 474ec34 commit e47316e74f2a05bae28c69b7b51019306f7ef6b1 AD7six committed with gwoo Jul 29, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 cake/tests/cases/libs/model/datasources/dbo_source.test.php
@@ -28,8 +28,7 @@
if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
}
-App::import('Core', array('Model', 'DataSource', 'DboSource', 'DboMysql'));
-App::import('Model', 'App');
+App::import('Model', array('Model', 'DataSource', 'DboSource', 'DboMysql', 'App'));
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

0 comments on commit e47316e

Please sign in to comment.