|
@@ -30,6 +30,10 @@ class SecurityRoutingIntegrationTest extends WebTestCase
|
|
|
*/
|
|
|
public function testRoutingErrorIsExposedWhenNotProtected($config)
|
|
|
{
|
|
|
+ if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
|
|
|
+ $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');
|
|
|
+ }
|
|
|
+
|
|
|
$client = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config));
|
|
|
$client->insulate();
|
|
|
$client->request('GET', '/unprotected_resource');
|
|
@@ -42,6 +46,10 @@ class SecurityRoutingIntegrationTest extends WebTestCase
|
|
|
*/
|
|
|
public function testRoutingErrorIsNotExposedForProtectedResourceWhenLoggedInWithInsufficientRights($config)
|
|
|
{
|
|
|
+ if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
|
|
|
+ $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');
|
|
|
+ }
|
|
|
+
|
|
|
$client = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => $config));
|
|
|
$client->insulate();
|
|
|
|