buddypress/tests/phpunit
Mathieu Viet f9c29a0ba1 PHPUnit: fix failing tests about media
Since WP [https://core.trac.wordpress.org/browser/trunk?rev=50170 50170] revision, errors about `getimagesize()` and `exif_read_data()` are not silenced anymore. We must now make sure to write media files where they should be for these two functions.

Tests involving `exif_read_data()` will be skipped from now on when testing against PHP 5.6 as no matter the image you use, you'll always get an `Illegal IDF size` error. It appears to be a bug with this version of PHP.

Fixes #8432 (7.0 branch)


git-svn-id: https://buddypress.svn.wordpress.org/branches/7.0@12841 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2021-02-06 20:39:28 +00:00
..
assets PHPUnit: fix failing tests about media 2021-02-06 20:39:28 +00:00
includes Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
testcases PHPUnit: fix failing tests about media 2021-02-06 20:39:28 +00:00
bootstrap.php Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
codecoverage.xml Travis-CI: disable xdebug globally and switch travis:codecoverage to use xdebug instead of phpdbg. 2016-08-08 13:36:32 +00:00
env.multisite.xml Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
env.xml Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
multisite.xml Tests: Fix missing 'name' attribute warning for PHPUnit 7. 2020-06-16 04:34:24 +00:00