瀏覽代碼

[Config] fixed a test

Fabien Potencier 14 年之前
父節點
當前提交
03282f8d4e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Symfony/Tests/Component/Config/Resource/DirectoryResourceTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Config/Resource/DirectoryResourceTest.php

@@ -56,7 +56,7 @@ class DirectoryResourceTest extends \PHPUnit_Framework_TestCase
      */
     public function testGetResource()
     {
-        $this->assertEquals(realpath($this->directory), $this->resource->getResource(), '->getResource() returns the path to the resource');
+        $this->assertEquals($this->directory, $this->resource->getResource(), '->getResource() returns the path to the resource');
     }
 
     /**