Skip to content

Commit

Permalink
Modified tests to satisfy appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-bogusz committed May 13, 2019
1 parent 694f3ba commit 4b86859
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses;

class ÀrClass
class EncodingClass
{
public function routeÀction()
{
Expand Down
Expand Up @@ -339,10 +339,10 @@ public function testDefaultRouteName()
->will($this->returnValue([$this->getAnnotatedRoute($methodRouteData)]))
;

$routeCollection = $this->loader->load('Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\ÀrClass');
$routeCollection = $this->loader->load('Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\EncodingClass');
$defaultName = array_keys($routeCollection->all())[0];

$this->assertSame($defaultName, 'symfony_component_routing_tests_fixtures_annotatedclasses_àrclass_routeàction');
$this->assertSame($defaultName, 'symfony_component_routing_tests_fixtures_annotatedclasses_encodingclass_routeàction');
}

private function getAnnotatedRoute($data)
Expand Down
Expand Up @@ -52,7 +52,7 @@ public function testLoadIgnoresHiddenDirectories()
'Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\BarClass',
'Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\BazClass',
'Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\FooClass',
'Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\ÀrClass',
'Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\EncodingClass',
]);

$this->reader
Expand Down

0 comments on commit 4b86859

Please sign in to comment.