Changeset 50287 for trunk/tests/phpunit/tests/dependencies/styles.php
- Timestamp:
- 02/11/2021 03:15:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/styles.php
r48937 r50287 3 3 * @group dependencies 4 4 * @group scripts 5 * @covers ::wp_enqueue_style 6 * @covers ::wp_register_style 7 * @covers ::wp_print_styles 8 * @covers ::wp_style_add_data 9 * @covers ::wp_add_inline_style 5 10 */ 6 11 class Tests_Dependencies_Styles extends WP_UnitTestCase { … … 350 355 * 351 356 * Visual block styles should always be enqueued when editing to avoid the appearance of a broken editor. 357 * 358 * @covers ::wp_enqueue_style 352 359 */ 353 360 function test_block_styles_for_editing_without_theme_support() { … … 366 373 * 367 374 * Visual block styles should always be enqueued when editing to avoid the appearance of a broken editor. 375 * 376 * @covers ::wp_common_block_scripts_and_styles 368 377 */ 369 378 function test_block_styles_for_editing_with_theme_support() { … … 382 391 * Visual block styles should not be enqueued unless a theme opts in. 383 392 * This way we avoid style conflicts with existing themes. 393 * 394 * @covers ::wp_enqueue_style 384 395 */ 385 396 function test_no_block_styles_for_viewing_without_theme_support() { … … 398 409 * 399 410 * Visual block styles should be enqueued when a theme opts in. 411 * 412 * @covers ::wp_common_block_scripts_and_styles 400 413 */ 401 414 function test_block_styles_for_viewing_with_theme_support() {
Note: See TracChangeset
for help on using the changeset viewer.