Make WordPress Core


Ignore:
Timestamp:
08/04/2022 03:16:32 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Make the comment cache group persistent in WP_UnitTestCase_Base::flush_cache().

This brings the list of persistent groups when running the test suite in line with core.

Follow-up to [1332/tests], [37613], [52976].

See #55652.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/abstract-testcase.php

    r53823 r53828  
    401401                );
    402402
    403                 wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
     403                wp_cache_add_non_persistent_groups( array( 'counts', 'plugins' ) );
    404404        }
    405405
Note: See TracChangeset for help on using the changeset viewer.