[wp-trac] [WordPress Trac] #60865: Some PHPUnit Tests are failing

WordPress Trac noreply at wordpress.org
Mon Apr 1 13:56:16 UTC 2024


#60865: Some PHPUnit Tests are failing
--------------------------------------+-----------------------------
 Reporter:  dextorlobo                |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  6.6
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"57903" 57903]:
 {{{
 #!CommitTicketReference repository="" revision="57903"
 Tests: Update expectations in `wp_remote_head()` and `wp_remote_get()`
 tests.

 It appears that something has changed on the WP.com side to compress the
 requested images on the fly, which interfered with the previous
 expectations in these tests.

 This commit uses a direct file URL and updates the expected image size to
 match the currently returned response.

 Follow-up to [139/tests], [31258], [47142].

 Props dextorlobo, swissspidy, davidbaumwald, SergeyBiryukov.
 See #60865.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60865#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list