[wp-trac] [WordPress Trac] #42124: Unit test errors with PHPUnit 6.4.0
WordPress Trac
noreply at wordpress.org
Sat Oct 7 14:02:40 UTC 2017
#42124: Unit test errors with PHPUnit 6.4.0
-----------------------------------+-----------------------------
Reporter: joemcgill | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 4.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Changes (by joemcgill):
* status: closed => reopened
* resolution: fixed =>
Comment:
This will be fixed in PHPUnit 6.4.1.
([https://github.com/sebastianbergmann/phpunit/commit/49cff592c4ec6a57cbcd3294fa85e98b837f2255
see commit]). We may want to consider reverting [41784] as the previous
approach was more accurate. Alternately, we could use `assertNotSame(
'resource', gettype( $editor ) )` in both assertions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42124#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list