Build/Test Tools: Reworks `Tests_Option_Option::test_bad_option_names()` into data provider.
The existing tests were running multiple functions through a `foreach()`. If any test failed, it would bail out and not test against the other scenarios. This commit: - Moves the scenarios to a data provider with named data sets, i.e. to ensure all scenarios are run and tested regardless if any fail. - Splits each function under test into individual test methods. - Adds a float scenario. - Adds method visibility modifiers. Follow-up to [25002]. Props jrf, hellofromTonya, pbearne. See #53635. Built from https://develop.svn.wordpress.org/trunk@51817 git-svn-id: http://core.svn.wordpress.org/trunk@51424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b9a809bd7
commit
8dd2206ab1
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51816';
|
||||
$wp_version = '5.9-alpha-51817';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue