diff --git a/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php b/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php index fcdbbfe..740d4a0 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php @@ -135,7 +135,7 @@ public function testDump() { $loaded_route = unserialize($record->route); $this->assertEqual($record->name, 'test_route', 'Dumped route has correct name.'); - $this->assertEqual($record->pattern, '/test/{my}/path', 'Dumped route has correct pattern.'); + $this->assertEqual($record->path, '/test/{my}/path', 'Dumped route has correct pattern.'); $this->assertEqual($record->pattern_outline, '/test/%/path', 'Dumped route has correct pattern outline.'); $this->assertEqual($record->fit, 5 /* 101 in binary */, 'Dumped route has correct fit.'); $this->assertTrue($loaded_route instanceof Route, 'Route object retrieved successfully.'); diff --git a/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php b/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php index 4abce63..d17dd87 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php @@ -95,7 +95,7 @@ function testExactPathMatch() { $routes = $provider->getRouteCollectionForRequest($request); foreach ($routes as $route) { - $this->assertEqual($route->getPat(), $path, 'Found path has correct pattern'); + $this->assertEqual($route->getPath(), $path, 'Found path has correct pattern'); } }