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:
parent
56250d3bdc
commit
124cb17625
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue