wordpress-develop/tests/phpunit/tests
Jonathan Desrosiers 31adfecbf3 Widgets: Add editor styles to the widgets block editor.
This updates the widgets screen to load the editor styles in the same way as the post editor. This combined with the package updates in [51198] and [51199] ensures that the blocks added to sidebars more accurately reflect what will be displayed on the front end of the site.

Props isabel_brison, noisysocks, andraganescu, audrasjb, jorbin, caseymilne, desrosj.
Fixes #53344. See #53388.

git-svn-id: https://develop.svn.wordpress.org/trunk@51200 602fd350-edb4-49c9-b593-d223f7449a82
2021-06-22 13:32:42 +00:00
..
actions Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
admin Posts, Post Types: Improve post_exists() query. 2021-05-26 02:16:01 +00:00
ajax Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
attachment Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
blocks Widgets: Add editor styles to the widgets block editor. 2021-06-22 13:32:42 +00:00
bookmark Tests: Fix typo in a get_bookmarks() test name. 2021-06-12 15:47:08 +00:00
canonical Canonical: Rename wp_force_plain_ugly_permalink() to match UI terminology. 2021-02-10 05:38:23 +00:00
category Menus: In Walker_Nav_Menu, Walker_Category, and Walker_Page, properly output link attributes having a legitimate "empty" value, for example an HTML data attribute with a value of zero (0). 2019-10-06 15:04:18 +00:00
comment Tests: Move the get_current_commenter() method next to the test it's used in. 2021-03-21 12:53:24 +00:00
customize Tests: Use more appropriate assertions in a few tests. 2021-06-22 04:34:29 +00:00
date Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +00:00
db Tests: Add missing @covers tags for files in phpunit/tests/db/. 2021-02-11 14:02:42 +00:00
dependencies Script Loader: Stop loading polyfills specific to Internet Explorer 2021-05-19 19:59:55 +00:00
editor Tests: Simplify @covers tags in editor/wpEditors.php using @coversDefaultClass annotation. 2021-02-13 13:45:23 +00:00
error-protection Tests: Correct some newly introduced @covers tags. 2021-03-16 18:44:40 +00:00
external-http Tests: Add missing @covers tags for files in phpunit/tests/external-http/. 2021-02-11 20:53:51 +00:00
feed Build/Test Tools: Fix and standardise calls to the setUp() and setUpBeforeClass() methods in the test suite. 2021-02-27 16:54:52 +00:00
filesystem Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
formatting Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:13:27 +00:00
functions Ports theme.json changes for beta 3. 2021-06-22 09:49:13 +00:00
general Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:36:49 +00:00
hooks Tests: Rename classes in phpunit/tests/hooks/ per the naming conventions. 2021-02-14 12:20:34 +00:00
http Tests: Correct some newly introduced @covers tags. 2021-03-16 18:44:40 +00:00
image Media: Some documentation and test improvements for the image_editor_output_format filter: 2021-05-22 12:58:46 +00:00
import Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
includes Tests: Consistently use the expectException() method instead of the older @expectedException annotation. 2020-09-18 13:22:22 +00:00
l10n Tests: Use assertInstanceOf() instead of assertTrue() in some tests. 2021-05-18 21:04:31 +00:00
link Permalinks: Revert the changes stemming from pagination limits. 2021-06-08 23:31:46 +00:00
load Tests: Add missing @covers tags for files in phpunit/tests/load/. 2021-02-28 17:12:03 +00:00
media Tests: Make some optional parameters required in unit tests for previous/next attachment links. 2021-06-16 17:30:07 +00:00
menu Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
meta Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
multisite Tests: Use more appropriate assertions in clean_dirsize_cache() tests. 2021-06-20 00:24:31 +00:00
oembed Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
option General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:13:57 +00:00
pomo Tests: Simplify PluralFormsTest::test_exceptions(). 2020-09-18 14:11:11 +00:00
post Tests: Use more appropriate assertions in a few tests. 2021-06-22 04:34:29 +00:00
privacy Privacy: Improve naming of user confimed action email filters. 2021-06-09 01:34:09 +00:00
query Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
rest-api REST API: Decode single and double quote entities in widget names and descriptions. 2021-06-18 15:51:26 +00:00
rewrite Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
sitemaps Docs: Update inline comments in some test files per the documentation standards. 2021-03-04 10:11:38 +00:00
taxonomy Tests: Add missing parent::setUp() calls to all test classes. 2019-01-14 04:54:01 +00:00
term General: Ensure consistent type for integer properties of WP_Post, WP_Term, and WP_User. 2021-05-19 22:10:58 +00:00
theme Ports theme.json changes for beta 3. 2021-06-22 09:49:13 +00:00
url Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
user Tests: Use more appropriate assertions in a few tests. 2021-06-22 04:34:29 +00:00
widgets Widgets: Improve unit tests for RSS Widget. 2021-06-09 23:50:14 +00:00
xmlrpc XML-RPC: Set HTTP status code in accordance with the spec. 2021-05-24 02:17:36 +00:00
actions.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
adminbar.php Build/Test Tools: Fix and standardise calls to the setUp() and setUpBeforeClass() methods in the test suite. 2021-02-27 16:54:52 +00:00
auth.php Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
avatar.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
basic.php Build/Test Tools: Fix tests after [50185]. 2021-02-05 03:36:26 +00:00
block-template-utils.php Tests: Use assertSame() in some newly introduced tests. 2021-06-07 11:16:29 +00:00
block-template.php Tests: Use assertSame() in some newly introduced tests. 2021-06-07 11:16:29 +00:00
cache.php Docs: Spell "non-existent" in a consistent way. 2021-03-27 13:32:55 +00:00
canonical.php Canonical: Support multiple post types in redirect_guess_404_permalink(). 2020-10-18 23:21:03 +00:00
category.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
comment-submission.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
comment.php Comments: Revert the introduction of the opt-in comment approval notification feature. 2021-02-17 13:06:43 +00:00
compat.php Tests: Consistently use the expectException() method instead of the older @expectedException annotation. 2020-09-18 13:22:22 +00:00
cron.php Docs: Spell "non-existent" in a consistent way. 2021-03-27 13:32:55 +00:00
db.php Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method. 2021-03-01 18:42:49 +00:00
dbdelta.php Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
dependencies.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
file.php Themes: Make sure get_file_data() recognizes headers prefixed by <?php tag. 2021-06-18 14:02:44 +00:00
filters.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
functions.php Media: Some documentation and test improvements for WebP support: 2021-05-05 17:06:17 +00:00
https-detection.php Security, Site Health: Do not store HTTPS request error messages in an option. 2021-03-02 15:06:34 +00:00
https-migration.php Tests: Use assertSame() in some newly introduced tests. 2021-02-10 13:24:24 +00:00
kses.php Formatting: Add 'main' tag to kses 2021-05-25 01:42:20 +00:00
l10n.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
link.php Canonical: Prevent ID enumeration of private post slugs. 2021-02-02 00:38:40 +00:00
locale.php Tests: Fix the failure in test_get_weekday_undefined_index() on PHP 8. 2020-09-18 10:56:27 +00:00
mail.php Docs: Spell "non-existent" in a consistent way. 2021-03-27 13:32:55 +00:00
media.php Media: Do not lazy load hidden images or embeds. 2021-04-07 00:59:18 +00:00
meta.php Tests: Replace a few instances of assertNotEquals() with assertNotFalse(). 2020-09-07 04:11:54 +00:00
multisite.php Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite. 2021-02-27 17:08:26 +00:00
pluggable.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:36:49 +00:00
post.php Tests: Use assertSame() in some newly introduced tests. 2021-06-07 11:16:29 +00:00
query.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-api.php General: Remove admin and login exceptions for https in get_home_url(). 2021-02-02 19:01:18 +00:00
rewrite.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
robots.php Robots: Remove contradictory directive check in wp_robots(). 2021-03-23 23:00:03 +00:00
shortcode.php Build/Test Tools: Ensure the test_php_and_js_shortcode_attribute_regexes_match() test can run when testing using either the src or build directory. 2021-03-05 15:26:22 +00:00
site-health.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
taxonomy.php Taxonomy: Revert Light-weight/partial term counts. 2020-10-30 04:57:16 +00:00
template.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
term.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
theme.php Bundled Themes: Make Twenty Twenty-One the default theme. 2020-10-20 02:02:37 +00:00
upload.php Build/Test Tools: Fix and standardise calls to the setUp() and setUpBeforeClass() methods in the test suite. 2021-02-27 16:54:52 +00:00
url.php General: Remove admin and login exceptions for https in get_home_url(). 2021-02-02 19:01:18 +00:00
user.php General: Ensure consistent type for integer properties of WP_Post, WP_Term, and WP_User. 2021-05-19 22:10:58 +00:00
walker.php Build/Test Tools: Fix and standardise calls to the setUp() and setUpBeforeClass() methods in the test suite. 2021-02-27 16:54:52 +00:00
widgets.php Tests: Fix typo in a retrieve_widgets() test name. 2021-06-13 16:27:38 +00:00
wp.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00