Skip to content

Commit

Permalink
Removing constants from app/webroot/test.php as they are no longer ne…
Browse files Browse the repository at this point in the history
…eded.
  • Loading branch information
markstory committed Jan 9, 2010
1 parent bdc84cd commit 28ad1ea
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/webroot/test.php
Expand Up @@ -89,21 +89,6 @@
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();
Expand Down

0 comments on commit 28ad1ea

Please sign in to comment.