From 945c33e9e97922f79aed1d5a82bb228da5e71d2e Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Thu, 9 Nov 2023 11:01:42 -0600 Subject: [PATCH] setting restored after test --- plugins/faustwp/tests/integration/ReplacementCallbacksTests.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/faustwp/tests/integration/ReplacementCallbacksTests.php b/plugins/faustwp/tests/integration/ReplacementCallbacksTests.php index 5569b4e3c..b862e13fa 100644 --- a/plugins/faustwp/tests/integration/ReplacementCallbacksTests.php +++ b/plugins/faustwp/tests/integration/ReplacementCallbacksTests.php @@ -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 ); } /**