From ec2884f17cc905ba36875c063810775f45fd99ed Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 10 Nov 2010 23:50:01 -0500 Subject: [PATCH] Making routing suite include RedirectRoute. --- cake/tests/cases/libs/all_routing.test.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cake/tests/cases/libs/all_routing.test.php b/cake/tests/cases/libs/all_routing.test.php index 1f60002fc..a6a010bbb 100644 --- a/cake/tests/cases/libs/all_routing.test.php +++ b/cake/tests/cases/libs/all_routing.test.php @@ -34,12 +34,11 @@ class AllRoutingTest extends PHPUnit_Framework_TestSuite { * @return void */ public static function suite() { - $suite = new PHPUnit_Framework_TestSuite('All Router and Dispatcher class tests'); + $suite = new CakeTestSuite('All Router and Dispatcher class tests'); $suite->addTestFile(CORE_TEST_CASES . DS . 'dispatcher.test.php'); $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'router.test.php'); - $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'route' . DS . 'cake_route.test.php'); - $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'route' . DS . 'plugin_short_route.test.php'); + $suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'route' . DS); $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cake_response.test.php'); $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cake_request.test.php'); return $suite;