- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesCommunityEvents.php
r48937 r48939 164 164 165 165 $this->assertNotWPError( $response ); 166 $this->assert EqualSetsWithIndex( $this->get_user_location(), $response['location'] );166 $this->assertSameSetsWithIndex( $this->get_user_location(), $response['location'] ); 167 167 $this->assertSame( gmdate( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $response['events'][0]['formatted_date'] ); 168 168 $this->assertSame( '1:00 pm', $response['events'][0]['formatted_time'] ); … … 185 185 186 186 $this->assertNotWPError( $cached_events ); 187 $this->assert EqualSetsWithIndex( $this->get_user_location(), $cached_events['location'] );187 $this->assertSameSetsWithIndex( $this->get_user_location(), $cached_events['location'] ); 188 188 $this->assertSame( gmdate( 'l, M j, Y', strtotime( 'next Sunday 1pm' ) ), $cached_events['events'][0]['formatted_date'] ); 189 189 $this->assertSame( '1:00 pm', $cached_events['events'][0]['formatted_time'] );
Note: See TracChangeset
for help on using the changeset viewer.