8000 merged branch bdmu/ticket_5341 (PR #5342) · symfony/symfony@71f3081 · GitHub
[go: up one dir, main page]

Skip to content

Commit 71f3081

Browse files
committed
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 :+1:
2 parents 07d108a + 9beffff commit 71f3081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Symfony/Tests/Component/HttpKernel/KernelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function testGetRootDir()
284284
{
285285
$kernel = new KernelForTest('test', true);
286286

287-
$this->assertEquals(__DIR__, $kernel->getRootDir());
287+
$this->assertEquals(__DIR__, realpath($kernel->getRootDir()));
288288
}
289289

290290
public function testGetName()

0 commit comments

Comments
 (0)
0