wordpress-develop/tests/phpunit/tests/option
Sergey Biryukov 364dfec369 Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests.
These were originally added in [26252] to suppress database errors on `setUp()` and restore on `tearDown()` for tests that call `wpmu_create_blog()`, blog factory, or installation code that attempts to clear transients.

As the multisite test coverage expanded, these methods ended up being unnecessarily copied into other test classes, where database error suppression is not required.

Follow-up to [26252], [29916], [30286], [33184], [34898], [34899], [34901], [37234], [37477], [37894], [49212], [49616], [51859].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@51869 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-25 01:27:47 +00:00
..
multisite.php Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests. 2021-09-25 01:27:47 +00:00
networkOption.php Tests: Use more appropriate assertions in various tests. 2021-07-10 11:15:44 +00:00
option.php Options, Meta APIs: Fix "passing null to non-nullable" deprecations to (get|add|update|delete)_option(). 2021-09-15 22:18:36 +00:00
registration.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
sanitize-option.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
siteOption.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
siteTransient.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
slashes.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
themeMods.php Themes: Make sure get_theme_mods() always returns an array. 2021-08-01 14:54:52 +00:00
transient.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
updateOption.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
userSettings.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpLoadAllOptions.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00