Skip to content
Permalink
Browse files

fix cs

  • Loading branch information...
steinkel committed Feb 27, 2018
1 parent 289a1fa commit c41d243e8200547e924b4241a03a365a3b36cdcc
Showing with 2 additions and 1 deletion.
  1. +0 −1 src/Routing/Router.php
  2. +2 −0 tests/TestCase/Routing/Middleware/RoutingMiddlewareTest.php
@@ -1171,5 +1171,4 @@ protected static function _loadRoutes()
static::$initialized = true;
include CONFIG . 'routes.php';
}
}
@@ -475,6 +475,7 @@ public function testCacheRoutes()
$next = function ($req, $res) {
$routeCollection = Cache::read('routeCollection', '_cake_router_');
$this->assertInstanceOf('\Cake\Routing\RouteCollection', $routeCollection);
return $res;
};
$app = new Application(CONFIG);
@@ -504,6 +505,7 @@ public function testCacheNotUsedIfCacheDisabled()
$next = function ($req, $res) {
$routeCollection = Cache::read('routeCollection', '_cake_router_');
$this->assertFalse($routeCollection);
return $res;
};
$app = new Application(CONFIG);

0 comments on commit c41d243

Please sign in to comment.
You can’t perform that action at this time.