Make WordPress Core


Ignore:
Timestamp:
10/08/2016 10:42:12 PM (8 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Revert [38759]. PHPUnit's @requires syntax was introduced in PHPUnit 3.7, but the tests for PHP 5.2 use PHPUnit 3.6 because it's the latest version that supports PHP 5.2.

Fixes #38256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/http/functions.php

    r38759 r38761  
    44 * @group http
    55 * @group external-http
    6  *
    7  * @requires extension openssl
    86 */
    97class Tests_HTTP_Functions extends WP_UnitTestCase {
     8    public function setUp() {
     9        if ( ! extension_loaded( 'openssl' ) ) {
     10            $this->markTestSkipped( 'Tests_HTTP_Functions requires openssl.' );
     11        }
     12
     13        parent::setUp();
     14    }
    1015
    1116    function test_head_request() {
Note: See TracChangeset for help on using the changeset viewer.