Skip to content

Commit

Permalink
Fixing tests broken by previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 12, 2011
1 parent f2a5811 commit 38d7433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions lib/Cake/Test/Case/Core/AppTest.php
Expand Up @@ -316,11 +316,6 @@ public function testListObjects() {
$result = App::objects('Model/Behavior', null, false);
$this->assertTrue(in_array('TreeBehavior', $result));

$result = App::objects('controller', null, false);
$this->assertTrue(in_array('PagesController', $result));
$result = App::objects('Controller', null, false);
$this->assertTrue(in_array('PagesController', $result));

$result = App::objects('component', null, false);
$this->assertTrue(in_array('AuthComponent', $result));
$result = App::objects('Controller/Component', null, false);
Expand Down
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Routing/DispatcherTest.php
Expand Up @@ -19,7 +19,7 @@
App::uses('Dispatcher', 'Routing');

if (!class_exists('AppController', false)) {
require_once CAKE . 'Controller' . DS . 'AppController.php';
require_once CAKE . 'Test' . DS . 'test_app' . DS . 'Controller' . DS . 'AppController.php';
} elseif (!defined('APP_CONTROLLER_EXISTS')){
define('APP_CONTROLLER_EXISTS', true);
}
Expand Down Expand Up @@ -1206,7 +1206,7 @@ public function testAssets() {
public static function assetProvider() {
return array(
array(
'theme/test_theme/flash/theme_test.swf',
'theme/test_theme/flash/theme_test.swf',
'View/Themed/TestTheme/webroot/flash/theme_test.swf'
),
array(
Expand Down Expand Up @@ -1369,7 +1369,7 @@ public static function cacheActionProvider() {
array('test_cached_pages/themed'),
);
}

/**
* testFullPageCachingDispatch method
*
Expand Down

0 comments on commit 38d7433

Please sign in to comment.