Skip to content

Commit

Permalink
Making PagesController test unskipped in all_tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 17, 2010
1 parent 42754c6 commit f50a97b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cake/tests/cases/libs/controller/pages_controller.test.php
Expand Up @@ -17,11 +17,6 @@
* @since CakePHP(tm) v 1.2.0.5436
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
if (!class_exists('AppController')) {
require_once LIBS . 'controller' . DS . 'app_controller.php';
} elseif (!defined('APP_CONTROLLER_EXISTS')) {
define('APP_CONTROLLER_EXISTS', true);
}
App::import('Controller', 'Pages');

/**
Expand Down Expand Up @@ -49,10 +44,6 @@ function endTest() {
* @return void
*/
function testDisplay() {
if ($this->skipIf(defined('APP_CONTROLLER_EXISTS'), '%s Need a non-existent AppController')) {
return;
}

App::build(array(
'views' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'views'. DS, TEST_CAKE_CORE_INCLUDE_PATH . 'libs' . DS . 'view' . DS)
));
Expand Down

0 comments on commit f50a97b

Please sign in to comment.