[buddypress-trac] [BuddyPress Trac] #8432: PHPUnit tests about media in WP Trunk (5.7 dev cycle)

buddypress-trac noreply at wordpress.org
Sat Feb 6 20:39:34 UTC 2021


#8432: PHPUnit tests about media in WP Trunk (5.7 dev cycle)
------------------------------+---------------------
 Reporter:  imath             |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  7.2.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12841" 12841]:
 {{{
 #!CommitTicketReference repository="" revision="12841"
 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)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8432#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list