You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the command on branch 2.0:
phpunit tests/Symfony/Tests/Component/HttpKernel/
I get this error on Windows
Symfony\Tests\Component\HttpKernel\KernelTest::testGetRootDir
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'C:\bdmu_git_repos\symfony\tests\Symfony\Tests\Component\HttpKernel'
+'C:/bdmu_git_repos/symfony/tests/Symfony/Tests/Component/HttpKernel'
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:
Hello,
Running the command on branch 2.0:
phpunit tests/Symfony/Tests/Component/HttpKernel/
I get this error on Windows
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'C:\bdmu_git_repos\symfony\tests\Symfony\Tests\Component\HttpKernel'
+'C:/bdmu_git_repos/symfony/tests/Symfony/Tests/Component/HttpKernel'
C:\bdmu_git_repos\symfony\tests\Symfony\Tests\Component\HttpKernel\KernelTest.php:287
C:\wamp\bin\php\pear\phpunit:46
replacing
$this->assertEquals(DIR, $kernel->getRootDir());
with
$this->assertEquals(DIR, realpath($kernel->getRootDir()));
line 287 fix the issue.
Best regards,
Christophe
The text was updated successfully, but these errors were encountered: