Ver Fonte

Comment out Zend_Soap_ServerTest::testShouldThrowExceptionIfHandledRequestContainsDoctype as it causes a segmentation fault on Travis PHP 5.2. This test is skipped anyway.

Rob Allen há 12 anos atrás
pai
commit
6f2c89bac6
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      tests/Zend/Soap/ServerTest.php

+ 3 - 2
tests/Zend/Soap/ServerTest.php

@@ -982,9 +982,9 @@ class Zend_Soap_ServerTest extends PHPUnit_Framework_TestCase
     }
     }
 
 
     /**
     /**
-     * @runInSeparateProcess
-     * @preserveGlobalState disabled
+     * Method commented out as causes segmentation fault on PHP 5.2.17 with PHPUnit 3.2.13 on Travis.
      */
      */
+    /*
     public function testShouldThrowExceptionIfHandledRequestContainsDoctype()
     public function testShouldThrowExceptionIfHandledRequestContainsDoctype()
     {
     {
         $this->markTestSkipped('Cannot test for RuntimeException from Soap Server');
         $this->markTestSkipped('Cannot test for RuntimeException from Soap Server');
@@ -1011,6 +1011,7 @@ class Zend_Soap_ServerTest extends PHPUnit_Framework_TestCase
         $response = $server->handle($request);
         $response = $server->handle($request);
         $this->assertContains('Invalid XML', $response->getMessage());
         $this->assertContains('Invalid XML', $response->getMessage());
     }
     }
+    */
 }
 }