8000 merged branch aboks/securitybundle_pipes (PR #2493) · Kiruban2011/symfony@323f80d · GitHub
[go: up one dir, main page]

Skip to content

Commit 323f80d

Browse files
committed
merged branch aboks/securitybundle_pipes (PR symfony#2493)
Commits ------- 454e602 [SecurityBundle] Skipped two tests in PHP <5.3.9 on Windows as these hang due to a known bug Discussion ---------- [SecurityBundle] Skip tests that are known to hang Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: symfony#2287 After finding the cause of the hanging tests on Windows (thanks!), @beberlei skipped one of the hanging tests from symfony#2287 in symfony#2478. This one fixes the other two so that symfony#2287 can be closed.
2 parents ebe3e04 + 454e602 commit 323f80d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/SecurityRoutingIntegrationTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public function testRoutingErrorIsNotExposedForProtectedResourceWhenAnonymous($c
3030
*/
3131
public function testRoutingErrorIsExposedWhenNotProtected($config)
3232
{
33+
if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
34+
$this->markTestSkipped('Test hangs on Windows & PHP due to https://bugs.php.net/bug.php?id=60120 fixed in http://svn.php.net/viewvc?view=revision&revision=318366');
35+
}
36+
3337
$client = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config));
3438
$client->insulate();
3539
$client->request('GET', '/unprotected_resource');
@@ -42,6 +46,10 @@ public function testRoutingErrorIsExposedWhenNotProtected($config)
4246
*/
4347
public function testRoutingErrorIsNotExposedForProtectedResourceWhenLoggedInWithInsufficientRights($config)
4448
{
49+
if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
50+
$this->markTestSkipped('Test hangs on Windows & PHP due to https://bugs.php.net/bug.php?id=60120 fixed in http://svn.php.net/viewvc?view=revision&revision=318366');
51+
}
52+
4553
$client = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config));
4654
$client->insulate();
4755

0 commit comments

Comments
 (0)
0