Make WordPress Core


Ignore:
Timestamp:
09/19/2020 10:34:54 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Speed up slashed data tests by reusing shared fixtures.

Follow-up to [35249].

See #51344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/option/slashes.php

    r48937 r49003  
    77 */
    88class Tests_Option_Slashes extends WP_UnitTestCase {
     9
    910    function setUp() {
    1011        parent::setUp();
     12
    1113        // It is important to test with both even and odd numbered slashes,
    1214        // as KSES does a strip-then-add slashes in some of its function calls.
Note: See TracChangeset for help on using the changeset viewer.