From 802e6f828249d9a79660ed5b7a388ed36a3f9a85 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Mon, 9 Jun 2014 20:57:34 +0200 Subject: [PATCH] Fixing another broken test --- tests/TestCase/Controller/Component/SessionComponentTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestCase/Controller/Component/SessionComponentTest.php b/tests/TestCase/Controller/Component/SessionComponentTest.php index 3ab163d1ef8..59dca946fdb 100644 --- a/tests/TestCase/Controller/Component/SessionComponentTest.php +++ b/tests/TestCase/Controller/Component/SessionComponentTest.php @@ -87,7 +87,8 @@ public function tearDown() { */ public function testSessionIdConsistentAcrossRequestAction() { Configure::write('App.namespace', 'TestApp'); - Router::connect('/:controller/:action'); + Router::connect('/session_test/:action', ['controller' => 'SessionTest']); + Router::connect('/orange_session_test/:action', ['controller' => 'OrangeSessionTest']); $Controller = new Controller(); $Session = new SessionComponent($this->ComponentRegistry);