Преглед изворни кода

[Config] fix test on windows

Jordi Boggiano пре 14 година
родитељ
комит
2ffa8521b5
1 измењених фајлова са 1 додато и 1 уклоњено
  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'
         );