merged branch bdmu/ticket_5341 (PR #5342)

Commits
-------

9beffff [HttpKernel] KernelTest::testGetRootDir fails on Windows for branch 2.0

Discussion
----------

[HttpKernel] fix KernelTest::testGetRootDir fails on Windows for branch 2.0

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #5341
Todo: -
License of the code: MIT
Documentation PR:
replace
$this->assertEquals(DIR, $kernel->getRootDir());
with
$this->assertEquals(DIR, realpath($kernel->getRootDir()));
line 287

---------------------------------------------------------------------------

by pborreli at 2012-08-25T20:23:34Z

👍
This commit is contained in:
Fabien Potencier 2012-08-26 11:07:01 +02:00
commit 71f3081188

View File

@ -284,7 +284,7 @@ EOF;
{
$kernel = new KernelForTest('test', true);
$this->assertEquals(__DIR__, $kernel->getRootDir());
$this->assertEquals(__DIR__, realpath($kernel->getRootDir()));
}
public function testGetName()