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

WordPress Trac noreply at wordpress.org
Thu Apr 4 21:10:54 UTC 2024


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

Comment (by jorbin):

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

 Reviewed by jorbin.
 Merges [57903] to the 6.4 branch.

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

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


More information about the wp-trac mailing list