From c9ae3c26c4d3d9a85c067f7cb96c03a97caf1158 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez <jose.zap@gmail.com> Date: Mon, 21 Mar 2011 01:09:39 -0430 Subject: [PATCH] Removing more code from test app home.ctp file so testing becomes easier --- lib/Cake/tests/test_app/views/layouts/default.ctp | 1 - lib/Cake/tests/test_app/views/pages/home.ctp | 8 -------- 2 files changed, 9 deletions(-) diff --git a/lib/Cake/tests/test_app/views/layouts/default.ctp b/lib/Cake/tests/test_app/views/layouts/default.ctp index 1d1aafc20..293085093 100644 --- a/lib/Cake/tests/test_app/views/layouts/default.ctp +++ b/lib/Cake/tests/test_app/views/layouts/default.ctp @@ -54,6 +54,5 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework ?> </div> </div> - <?php echo $this->element('sql_dump'); ?> </body> </html> \ No newline at end of file diff --git a/lib/Cake/tests/test_app/views/pages/home.ctp b/lib/Cake/tests/test_app/views/pages/home.ctp index a12b8bd27..1b2a2e492 100644 --- a/lib/Cake/tests/test_app/views/pages/home.ctp +++ b/lib/Cake/tests/test_app/views/pages/home.ctp @@ -15,18 +15,10 @@ * @since CakePHP(tm) v 0.10.0.1076 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ -if (Configure::read('debug') == 0): - throw new NotFoundException(); -endif; App::uses('Debugger', 'Utility'); ?> <h2><?php echo __d('cake_dev', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2> <a href="http://cakephp.org/changelogs/1.3.6"><?php __d('cake_dev', 'Read the changelog'); ?> </a> -<?php -if (Configure::read('debug') > 0): - Debugger::checkSecurityKeys(); -endif; -?> <p> <?php if (is_writable(TMP)):