Removing constants from app/webroot/test.php as they are no longer needed.

This commit is contained in:
Mark Story 2010-01-09 11:24:52 -05:00
parent bdc84cd5d0
commit 28ad1ea1c2

View file

@ -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();