Making WordPress.org


Ignore:
Timestamp:
11/21/2022 10:43:20 PM (20 months ago)
Author:
iandunn
Message:

Events: Shorten SotW promo to target the most relevant dates

File:
1 edited

Legend:

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

    r12257 r12258  
    14641464
    14651465        // Don't forget to update the values here when they're updated in the FUT.
     1466        $actual_events_before_start      = pin_one_off_events( $seed_events, strtotime( 'December 12, 2022' ) );
    14661467        $actual_events_before_expiration = pin_one_off_events( $seed_events, strtotime( 'December 17, 2022' ) );
    14671468        $actual_events_after_expiration  = pin_one_off_events( $seed_events, strtotime( 'December 19, 2022' ) );
    14681469
     1470        $this->assertEmpty( $actual_events_before_start );
    14691471        $this->assertIsArray( $actual_events_after_expiration );
    14701472        $this->assertEmpty( $actual_events_after_expiration );
Note: See TracChangeset for help on using the changeset viewer.