Skip to content

Commit 537ee18

Browse files
ramonjdwestonruter
andcommitted
Update tests/phpunit/tests/url.php
Remove $GLOBALS['post'] = $orig_post; Co-authored-by: Weston Ruter <[email protected]>
1 parent 0c9f0d5 commit 537ee18

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/phpunit/tests/url.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,5 @@ public function test_get_adjacent_post_with_identical_dates() {
631631
// Next should be empty (no later posts).
632632
$next = get_adjacent_post( false, '', false );
633633
$this->assertSame( '', $next );
634-
635-
$GLOBALS['post'] = $orig_post;
636634
}
637635
}

0 commit comments

Comments
 (0)