diff --git a/cake/tests/cases/dispatcher.test.php b/cake/tests/cases/dispatcher.test.php index 7bfc7ec47..6e0a4275e 100644 --- a/cake/tests/cases/dispatcher.test.php +++ b/cake/tests/cases/dispatcher.test.php @@ -929,8 +929,8 @@ class DispatcherTest extends UnitTestCase { $url = '/'; ob_start(); - $dispatcher->dispatch($url); - $out = ob_get_clean(); + $out = $dispatcher->dispatch($url); + ob_get_clean(); ob_start(); $dispatcher->cached($url);