[wp-trac] [WordPress Trac] #36016: Fix or remove useless PHPUnit tests
WordPress Trac
noreply at wordpress.org
Mon Feb 29 21:53:20 UTC 2016
#36016: Fix or remove useless PHPUnit tests
------------------------------+-----------------------------
Reporter: boonebgorges | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+-----------------------------
Comment (by boonebgorges):
In [changeset:"36784"]:
{{{
#!CommitTicketReference repository="" revision="36784"
More specific test for a bad callback in `WP_Customize_Partial` test.
The 'render_callback' passed to `WP_Customize_Partial` must either echo or
return a result - not both. When it's detected that the callback echoes
and
returns a value, the return value takes precedence. This is now reflected
in
the corresponding unit test.
Introduced in [36586].
See #27355. See #36016.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36016#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list