Fix FileResource test

I had the following test failing on OS X before:

There was 1 failure:

1) Symfony\Component\Config\Tests\Resource\FileResourceTest::testSerializeUnserialize
Failed asserting that two strings are identical.
This commit is contained in:
Adrien Brault 2013-09-12 14:49:23 -07:00 committed by Fabien Potencier
parent 56250d3bdc
commit 124cb17625
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class FileResourceTest extends \PHPUnit_Framework_TestCase
protected function setUp()
{
$this->file = sys_get_temp_dir().'/tmp.xml';
$this->file = realpath(sys_get_temp_dir()).'/tmp.xml';
touch($this->file);
$this->resource = new FileResource($this->file);
}