Making WordPress.org


Ignore:
Timestamp:
09/11/2020 04:41:56 PM (4 years ago)
Author:
iandunn
Message:

Events: Disable caching during manual tests for convenience.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/tests/test-index.php

    r9785 r10250  
    15301530}
    15311531
    1532 /**
    1533  * Stub to simulate cache misses, so that the tests always get fresh results
    1534  *
    1535  * @return false
    1536  */
    1537 function wp_cache_get( $key, $group = '', $force = false, &$found = null ) {
    1538     return false;
    1539 }
    1540 
    1541 /**
    1542  * Stub to simulate cache misses, so that the tests always get fresh results
    1543  */
    1544 function wp_cache_set( $key, $data, $group = '', $expire = 0 ) {
    1545     // Intentionally empty
    1546 }
    1547 
    1548 
    15491532define( 'VERBOSE_OUTPUT', in_array( '--verbose', $argv, true ) );
    15501533
Note: See TracChangeset for help on using the changeset viewer.