buddypress/tests
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
..
phpunit PHPUnit: fix failing tests about media 2021-02-06 20:39:28 +00:00