Make WordPress Core

Changeset 52264


Ignore:
Timestamp:
11/29/2021 03:10:55 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Rename classes in phpunit/tests/block-supports/ per the naming conventions.

https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization

Follow-up to [52069], as a continuation of the previous changes in ​[47780], [48911], [49327], [50291], [50292], [50342], [50452], [50453], [50456], [50967], [50968], [50969], [51491], [51492], [51493], [51623], [51639], [51646], [51650], [51651], [51860].

See #53363.

Location:
trunk/tests/phpunit/tests/block-supports
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-supports/colors.php

    r52069 r52264  
    33 * @group block-supports
    44 */
    5 class WP_Block_Supports_Colors_Test extends WP_UnitTestCase {
     5class Tests_Block_Supports_Colors extends WP_UnitTestCase {
    66
    77    function test_color_slugs_with_numbers_are_kebab_cased_properly() {
  • trunk/tests/phpunit/tests/block-supports/elements.php

    r52069 r52264  
    33 * @group block-supports
    44 */
    5 class WP_Block_Supports_Elements_Test extends WP_UnitTestCase {
     5class Tests_Block_Supports_Elements extends WP_UnitTestCase {
    66    /**
    77     * Given a string containing a class prefixed by "wp-elements-" followed by a unique id,
  • trunk/tests/phpunit/tests/block-supports/spacing.php

    r52069 r52264  
    33 * @group block-supports
    44 */
    5 class WP_Block_Supports_Spacing_Test extends WP_UnitTestCase {
     5class Tests_Block_Supports_Spacing extends WP_UnitTestCase {
    66    private $sample_block_content = '<div class="wp-block-test-block">Test</div>';
    77    private $test_gap_block_value = array();
  • trunk/tests/phpunit/tests/block-supports/typography.php

    r52069 r52264  
    33 * @group block-supports
    44 */
    5 class WP_Block_Supports_Typography_Test extends WP_UnitTestCase {
     5class Tests_Block_Supports_Typography extends WP_UnitTestCase {
    66
    77    function test_font_size_slug_with_numbers_is_kebab_cased_properly() {
Note: See TracChangeset for help on using the changeset viewer.