WordPress.org

Make WordPress Core

Changeset 41279


Ignore:
Timestamp:
08/20/2017 12:58:59 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test tools: Revert [41278] because the PHP 5.2 environment on Travis doesn't support OpenSSL, hence the tests fail.

See #41676

Location:
trunk/tests/phpunit/tests
Files:
2 edited

Legend:

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

    r41278 r41279  
    88    public function setUp() {
    99        if ( ! extension_loaded( 'openssl' ) ) {
    10             $this->fail( 'Tests_HTTP_Functions requires openssl.' );
     10            $this->markTestSkipped( 'Tests_HTTP_Functions requires openssl.' );
    1111        }
    1212
  • trunk/tests/phpunit/tests/image/functions.php

    r41278 r41279  
    309309
    310310        if ( ! extension_loaded( 'openssl' ) ) {
    311             $this->fail( 'Tests_Image_Functions::test_wp_crop_image_url() requires openssl.' );
     311            $this->markTestSkipped( 'Tests_Image_Functions::test_wp_crop_image_url() requires openssl.' );
    312312        }
    313313
     
    333333    public function test_wp_crop_image_url_not_exist() {
    334334        if ( ! extension_loaded( 'openssl' ) ) {
    335             $this->fail( 'Tests_Image_Functions::test_wp_crop_image_url_not_exist() requires openssl.' );
     335            $this->markTestSkipped( 'Tests_Image_Functions::test_wp_crop_image_url_not_exist() requires openssl.' );
    336336        }
    337337
Note: See TracChangeset for help on using the changeset viewer.