Make WordPress Core


Ignore:
Timestamp:
10/08/2016 01:19:11 AM (8 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Make use of PHPUnit's @requires notation.

Fixes #38256

File:
1 edited

Legend:

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

    r38758 r38759  
    44 * @group http
    55 * @group external-http
     6 *
     7 * @requires extension openssl
    68 */
    79class 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     }
    1510
    1611    function test_head_request() {
Note: See TracChangeset for help on using the changeset viewer.