[wp-trac] [WordPress Trac] #59486: Make test suite compatible with PHPUnit 10 / 11
WordPress Trac
noreply at wordpress.org
Fri Jun 28 12:42:03 UTC 2024
#59486: Make test suite compatible with PHPUnit 10 / 11
------------------------------+-----------------------------
Reporter: dingo_d | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version: 6.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+-----------------------------
Comment (by outsellers):
Replying to [comment:6 jujuguru]:
> Adding my experience here with a workaround.
>
> {{{WP_UnitTestCase_Base::expectDeprecated}}} makes a call to
{{{\PHPUnit\Util\Test::parseTestMethodAnnotations}}} during test setup and
renders testing useless.
>
I can attest that this also worked for myself. For the time being, no
issues after commenting this out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59486#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list