[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 19:15:20 UTC 2021


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

Comment (by imath):

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

 See #8432 (trunk)
 }}}

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


More information about the buddypress-trac mailing list