[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9
WordPress Trac
noreply at wordpress.org
Fri Sep 10 16:29:38 UTC 2021
#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by hellofromTonya):
In [changeset:"51798" 51798]:
{{{
#!CommitTicketReference repository="" revision="51798"
Tests: Add tests for `wpdb::_real_escape()`.
Adds a new dedicated test file.
Adds a test to check that various input types passed to
`wpdb::_real_escape()` are handled correctly.
Note: This new test does not test the actual escaping or other logic in
the function. Rather, it just and only tests and documents how the
function handles various input types.
Props jrf, hellofromTonya.
See #53363.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53363#comment:79>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list