Wordpress/tests/phpunit/tests/option
Joe Hoyle 2da297eeaf Options: Add Unit tests for register_setting.
Test `register_setting` with old and new style of arguments.

Props rmccue.
Fixes #37885.


git-svn-id: https://develop.svn.wordpress.org/trunk@38690 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-30 20:23:33 +00:00
..
multisite.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
networkOption.php Options: Do not set network options to autoload in single site 2016-04-16 19:47:14 +00:00
option.php Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate. 2016-08-26 20:21:30 +00:00
registration.php Options: Add Unit tests for register_setting. 2016-09-30 20:23:33 +00:00
sanitize-option.php Permalinks: Validate custom permalink structures. 2016-06-19 12:01:11 +00:00
siteOption.php Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate. 2016-08-26 20:21:30 +00:00
siteTransient.php Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate. 2016-08-26 20:21:30 +00:00
slashes.php Fix typo in a comment in slashing tests. 2015-01-07 07:08:47 +00:00
themeMods.php Add some theme mod unit tests. 2015-08-30 03:42:49 +00:00
transient.php Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate. 2016-08-26 20:21:30 +00:00
updateOption.php Unit Tests: Change some @group annotations to @ticket. 2016-07-04 20:24:52 +00:00
userSettings.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00