Skip to content

Commit 13ceba7

Browse files
ramonjdwestonruter
andcommitted
Update tests/phpunit/tests/url.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent 537ee18 commit 13ceba7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/phpunit/tests/url.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,6 @@ public function test_get_adjacent_post_with_identical_dates() {
590590
);
591591
}
592592

593-
if ( ! isset( $GLOBALS['post'] ) ) {
594-
$GLOBALS['post'] = null;
595-
}
596-
$orig_post = $GLOBALS['post'];
597-
598593
// Test from the middle post (2nd post).
599594
$GLOBALS['post'] = get_post( $post_ids[1] );
600595

0 commit comments

Comments
 (0)