[wp-trac] [WordPress Trac] #42124: Unit test errors with PHPUnit 6.4.0

WordPress Trac noreply at wordpress.org
Fri Oct 6 18:21:18 UTC 2017


#42124: Unit test errors with PHPUnit 6.4.0
-----------------------------------+-----------------------------
 Reporter:  joemcgill              |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  high                   |   Milestone:  4.9
Component:  Build/Test Tools       |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41784"]:
 {{{
 #!CommitTicketReference repository="" revision="41784"
 Build/Test Tools: In `Tests_Image_Functions::test_load_directory()`, check
 the expected internal type instead of using `assertNotInternalType()`,
 which causes an error with PHPUnit 6.4.0.

 Props joemcgill.
 Fixes #42124.
 }}}

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


More information about the wp-trac mailing list