merged branch ChristianGaertner/patch-2 (PR #9054)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #9054).

Discussion
----------

[Config] Making tests pass on mac os x

without this change tests would fail under mac os x (at least in 10.8.2).

I think this change also removes inconstancy in the test (the `realpath()` is added in the other tests as well!).

| Q             | A
| ------------- | ---
| Bug fix?      | yes (fixes the test)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Cheers,

Christian

Commits
-------

61a00a8 Making tests pass on mac os x without this change tests would fail under mac os x at least in 10.8.2
This commit is contained in:
Fabien Potencier 2013-09-16 21:56:35 +02:00
commit 5e4b24aa8b

View File

@ -53,6 +53,6 @@ class FileResourceTest extends \PHPUnit_Framework_TestCase
{
$unserialized = unserialize(serialize($this->resource));
$this->assertSame($this->file, $this->resource->getResource());
$this->assertSame(realpath($this->file), $this->resource->getResource());
}
}