From 28ad1ea1c2aff03fcd3a19f8c85126dc21881240 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 9 Jan 2010 11:24:52 -0500 Subject: [PATCH] Removing constants from app/webroot/test.php as they are no longer needed. --- app/webroot/test.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/webroot/test.php b/app/webroot/test.php index 28c4a9430..7bdd62463 100644 --- a/app/webroot/test.php +++ b/app/webroot/test.php @@ -89,21 +89,6 @@ if (Configure::read('debug') < 1) { die(__('Debug setting does not allow access to this url.', true)); } -/** - * - * Used to determine output to display - */ -define('CAKE_TEST_OUTPUT_HTML', 1); -define('CAKE_TEST_OUTPUT_TEXT', 2); - -if (!isset($_GET['output']) || (isset($_GET['output']) && $_GET['output'] == 'html')) { - define('CAKE_TEST_OUTPUT', CAKE_TEST_OUTPUT_HTML); -} else { - Debugger::output('txt'); - define('CAKE_TEST_OUTPUT', CAKE_TEST_OUTPUT_TEXT); -} -define('RUN_TEST_LINK', $_SERVER['PHP_SELF']); - require_once CAKE_TESTS_LIB . 'cake_test_suite_dispatcher.php'; $Dispatcher = new CakeTestSuiteDispatcher();