Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Mar 1, 2018
1 parent 289a1fa commit c41d243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Routing/Router.php
Expand Up @@ -1171,5 +1171,4 @@ protected static function _loadRoutes()
static::$initialized = true;
include CONFIG . 'routes.php';
}

}
2 changes: 2 additions & 0 deletions tests/TestCase/Routing/Middleware/RoutingMiddlewareTest.php
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c41d243

Please sign in to comment.