Browse Source

Start test cases for middleware.

mark_story 12 years ago
parent
commit
5ad0d6fe5e

+ 1 - 3
src/Routing/DispatcherFilter.php

@@ -1,6 +1,5 @@
 <?php
 /**
- *
  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  *
@@ -13,7 +12,6 @@
  * @since         2.2.0
  * @license       http://www.opensource.org/licenses/mit-license.php MIT License
  */
-
 namespace Cake\Routing;
 
 use Cake\Core\InstanceConfigTrait;
@@ -57,7 +55,7 @@ use Cake\Event\EventListener;
  * callback as the conditions could change during the dispatch cycle.
  *
  */
-abstract class DispatcherFilter implements EventListener {
+class DispatcherFilter implements EventListener {
 
 	use InstanceConfigTrait;
 

+ 1 - 1
tests/TestCase/Routing/DispatcherFactoryTest.php

@@ -12,7 +12,7 @@
  * @since         3.0.0
  * @license       http://www.opensource.org/licenses/mit-license.php MIT License
  */
-namespace Cake\Routing;
+namespace Cake\Test\TestCase\Routing;
 
 use Cake\Routing\DispatcherFactory;
 use Cake\TestSuite\TestCase;