Skip to content

Commit

Permalink
setting restored after test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewguywright committed Nov 9, 2023
1 parent 5cc62c4 commit 945c33e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ public function test_post_preview_doesnt_rewrite_link_with_redirect_off() {
$link = post_preview_link( 'http://moo/', get_post( $this->post_id ) );

$this->assertSame( 'http://moo/', $link );

faustwp_update_setting( 'enable_redirects', true );
}

/**
Expand Down

0 comments on commit 945c33e

Please sign in to comment.