Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bfe59 commit a1b8c6dCopy full SHA for a1b8c6d
src/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php
@@ -133,11 +133,12 @@ public function testLoadingUtf8Route()
133
$this->assertCount(2, $routes);
134
135
$expectedRoutes = new RouteCollection();
136
- $expectedRoutes->add('some_route', new Route('/'));
137
-
138
- $expectedRoutes->add('some_utf8_route', $route = new Route('/utf8'));
+ $expectedRoutes->add('app_utf8', $route = new Route('/utf8'));
139
$route->setOption('utf8', true);
140
+ $expectedRoutes->add('app_no_utf8', $route = new Route('/no-utf8'));
+ $route->setOption('utf8', false);
141
+
142
$expectedRoutes->addResource(new FileResource(__DIR__.'/../Fixtures/localized/utf8.xml'));
143
144
$this->assertEquals($expectedRoutes, $routes);
0 commit comments