[wp-trac] [WordPress Trac] #61530: Test tool and unit test improvements for 6.7
WordPress Trac
noreply at wordpress.org
Wed Aug 21 21:04:31 UTC 2024
#61530: Test tool and unit test improvements for 6.7
--------------------------------------+---------------------
Reporter: jonsurrell | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by hellofromTonya):
In [changeset:"58920" 58920]:
{{{
#!CommitTicketReference repository="" revision="58920"
Tests: Remove 'errors' assertion when not WP_Error in
Tests_Term_WpInsertTerm.
Removes the assertion for 'errors' being empty when the instance is
`WP_Term` and not `WP_Error`. This property exists on `WP_Error`.
This assertion always passed because it was checking a dynamic property on
`WP_Term` that does not exist and is not added within Core. Thus, this
assertion is not needed and fails with dynamic property deprecations.
Follow-up to [51403], [34646], [29830].
See #61890, #61530.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61530#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list