Explorar o código

[Config] fix test on windows

Jordi Boggiano %!s(int64=14) %!d(string=hai) anos
pai
achega
2ffa8521b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Symfony/Tests/Component/Config/FileLocatorTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Config/FileLocatorTest.php

@@ -56,7 +56,7 @@ class FileLocatorTest extends \PHPUnit_Framework_TestCase
 
         $this->assertEquals(
             __DIR__.'/Fixtures'.DIRECTORY_SEPARATOR.'foo.xml',
-            $loader->locate(__DIR__.'/Fixtures/foo.xml', __DIR__),
+            $loader->locate(__DIR__.'/Fixtures'.DIRECTORY_SEPARATOR.'foo.xml', __DIR__),
             '->locate() returns the absolute filename if the file exists in one of the paths given in the constructor'
         );