Adding import to Helper so its tests run in CLI.

This commit is contained in:
mark_story 2010-07-11 20:01:24 -04:00
parent 10be0e5c6b
commit 5c076d44db

View file

@ -20,6 +20,10 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/ */
if (!class_exists('Router')) {
App::import('Core', 'Router');
}
/** /**
* Abstract base class for all other Helpers in CakePHP. * Abstract base class for all other Helpers in CakePHP.
* Provides common methods and features. * Provides common methods and features.