Skip to content

Commit 6981349

Browse files
Merge branch '4.4' into 5.2
* 4.4: fix test
2 parents 91f8003 + ab1f0e9 commit 6981349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Routing/RouterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public function getNonStringValues()
511511
/**
512512
* @dataProvider getContainerParameterForRoute
513513
*/
514-
public function testCacheValiditiyWithContainerParameters($parameter)
514+
public function testCacheValidityWithContainerParameters($parameter)
515515
{
516516
$cacheDir = sys_get_temp_dir().\DIRECTORY_SEPARATOR.uniqid('router_', true);
517517

@@ -534,7 +534,7 @@ public function testCacheValiditiyWithContainerParameters($parameter)
534534

535535
$router->getMatcher(); // trigger cache build
536536

537-
$cache = new ResourceCheckerConfigCache($cacheDir.\DIRECTORY_SEPARATOR.'UrlMatcher.php', $resourceCheckers);
537+
$cache = new ResourceCheckerConfigCache($cacheDir.\DIRECTORY_SEPARATOR.'url_matching_routes.php', $resourceCheckers);
538538

539539
$this->assertTrue($cache->isFresh());
540540
} finally {

0 commit comments

Comments
 (0)