Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit f43a8eb

Browse files
committed
Update tests.
1 parent c19a2b2 commit f43a8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/EventListener/AutoRouteListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function testPersistBlog()
6565
$this->assertCount(1, $routes);
6666
$this->assertInstanceOf('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute', $routes[0]);
6767
$this->assertEquals('unit-testing-blog', $routes[0]->getName());
68-
$this->assertEquals(PhpcrOdmAdapter::TAG_NO_MULTILANG, $routes[0]->getAutoRouteTag());
68+
$this->assertEquals(PhpcrOdmAdapter::TAG_NO_MULTILANG, $routes[0]->getLocale());
6969
$this->assertEquals(array(
7070
'_auto_route_tag' => 'no-multilang',
7171
'type' => 'cmf_routing_auto.primary',
@@ -257,7 +257,7 @@ public function testMultilangArticle($data, $expectedPaths)
257257

258258
$this->assertNotNull($route, 'Route: '.$expectedPath);
259259
$this->assertInstanceOf('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute', $route);
260-
$this->assertEquals($expectedLocale, $route->getAutoRouteTag());
260+
$this->assertEquals($expectedLocale, $route->getLocale());
261261

262262
$content = $route->getContent();
263263

0 commit comments

Comments
 (0)