Make WordPress Core


Ignore:
Timestamp:
04/04/2026 11:17:45 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Tests: Adjust Unicode tests for consistency.

Includes:

  • Adding missing @covers tags.
  • Correcting test class names as per the naming conventions.
  • Moving wp_check_invalid_utf8() tests to their own file, separate from wp_scrub_utf8().

Follow-up to [60630], [60793], [61000].

See #64225.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/unicode/wpHasNoncharacters.php

    r61000 r62207  
    55 * @package WordPress
    66 * @group unicode
     7 *
     8 * @covers ::wp_has_noncharacters
    79 */
     10class Tests_Unicode_WpHasNoncharacters extends WP_UnitTestCase {
    811
    9 class Tests_WpHasNoncharacters extends WP_UnitTestCase {
    1012        /**
    1113         * Ensures that a noncharacter inside a string will be properly detected.
Note: See TracChangeset for help on using the changeset viewer.