mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Making PagesController test unskipped in all_tests.
This commit is contained in:
parent
42754c63ff
commit
f50a97bff1
1 changed files with 0 additions and 9 deletions
|
@ -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');
|
||||
|
||||
/**
|
||||
|
@ -49,10 +44,6 @@ class PagesControllerTest extends CakeTestCase {
|
|||
* @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)
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue