Make WordPress Core

Changeset 42763


Ignore:
Timestamp:
02/28/2018 12:25:08 AM (7 years ago)
Author:
iandunn
Message:

External Libraries: Test for MEjs files in src instead of build.

The build task doesn't get run during TravisCI jobs, so the build folder doesn't exist in that context. Because of that, the test added in r42762 was failling.

Checking for the files in src instead achieves the same goal as that commit, but should pass in Travis.

See #43101
See https://wordpress.slack.com/archives/C02RQBWTW/p1519742993000615

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/dependencies/mediaelementjs.php

    r42762 r42763  
    1919     */
    2020    function test_exclusion_of_flash() {
    21         $mejs_folder = dirname( ABSPATH ) . '/build/' . WPINC . '/js/mediaelement';
     21        $mejs_folder = ABSPATH . WPINC . '/js/mediaelement';
    2222        $js_files    = glob( $mejs_folder . '/*.js' );
    2323
Note: See TracChangeset for help on using the changeset viewer.