Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a1b8c6d

Browse files
committed
fixup
1 parent f8bfe59 commit a1b8c6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ public function testLoadingUtf8Route()
133133
$this->assertCount(2, $routes);
134134

135135
$expectedRoutes = new RouteCollection();
136-
$expectedRoutes->add('some_route', new Route('/'));
137-
138-
$expectedRoutes->add('some_utf8_route', $route = new Route('/utf8'));
136+
$expectedRoutes->add('app_utf8', $route = new Route('/utf8'));
139137
$route->setOption('utf8', true);
140138

139+
$expectedRoutes->add('app_no_utf8', $route = new Route('/no-utf8'));
140+
$route->setOption('utf8', false);
141+
141142
$expectedRoutes->addResource(new FileResource(__DIR__.'/../Fixtures/localized/utf8.xml'));
142143

143144
$this->assertEquals($expectedRoutes, $routes);

0 commit comments

Comments
 (0)