From c896326c55e47f07f965faf4be56938172c2eebf Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Wed, 28 Feb 2018 00:25:08 +0000 Subject: [PATCH] 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 git-svn-id: https://develop.svn.wordpress.org/trunk@42763 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/dependencies/mediaelementjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/dependencies/mediaelementjs.php b/tests/phpunit/tests/dependencies/mediaelementjs.php index 36359710df..bcb15ef7f7 100644 --- a/tests/phpunit/tests/dependencies/mediaelementjs.php +++ b/tests/phpunit/tests/dependencies/mediaelementjs.php @@ -18,7 +18,7 @@ class Tests_Dependencies_MediaElementjs extends WP_UnitTestCase { * @ticket 42720 */ function test_exclusion_of_flash() { - $mejs_folder = dirname( ABSPATH ) . '/build/' . WPINC . '/js/mediaelement'; + $mejs_folder = ABSPATH . WPINC . '/js/mediaelement'; $js_files = glob( $mejs_folder . '/*.js' ); /*