diff --git a/test/RouterTest.php b/test/RouterTest.php index b09e936..0441047 100644 --- a/test/RouterTest.php +++ b/test/RouterTest.php @@ -105,7 +105,7 @@ public function shouldCacheRoutesSuccessfully() : void $this->request->getUri()->getPath() ); $router = $router->withSubFolder($this->config['folder']) - ->withSubFolder($this->config['cache_file']); + ->withCacheFile($this->config['cache_file']); $router->getRoute(); } /**