wordpress-develop/tests/phpunit/tests/theme
Sergey Biryukov bd001e80df Tests: Use assertSame() in some WP_Theme_JSON tests.
This ensures that not only the return values match the expected results, but also that their type is the same.

Previously committed in [54402], these instances appear to be accidentally reverted to `assertEquals()` in [54443].

Follow-up to [52275], [54162], [54402], [54443].

See #55654.

git-svn-id: https://develop.svn.wordpress.org/trunk@54446 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-10 15:57:11 +00:00
..
customHeader.php Code Modernization: Explicitly declare all properties created in set_up() methods of various test classes. 2022-08-27 12:30:08 +00:00
getThemeStarterContent.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
support.php Themes: Correct the logic for displaying a _doing_it_wrong() notice for add_theme_support( 'html5' ). 2022-03-07 14:42:49 +00:00
themeDir.php Themes: Add support for Update URI header. 2022-08-23 17:46:46 +00:00
wpGetGlobalStylesheet.php Editor: Backport block supports filter callback, registrations and tests to 6.1. 2022-09-19 20:54:20 +00:00
wpTheme.php Themes: Add support for Update URI header. 2022-08-23 17:46:46 +00:00
wpThemeGetAllowedFilters.php Tests: Use more appropriate assertions in various tests. 2021-07-07 10:32:56 +00:00
wpThemeJson.php Tests: Use assertSame() in some WP_Theme_JSON tests. 2022-10-10 15:57:11 +00:00
wpThemeJsonResolver.php Tests: Use assertSame() in some WP_Theme_JSON tests. 2022-10-10 15:57:11 +00:00
wpThemeJsonSchema.php Update theme.json classes for WordPress 5.9. 2021-11-08 19:18:39 +00:00