Skip to content

Commit

Permalink
fixup! Update is_using_client_side_redirection() to account for paire…
Browse files Browse the repository at this point in the history
…d browsing requiring auth
  • Loading branch information
westonruter committed Aug 10, 2021
1 parent 4d2504c commit 4148e13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/php/src/MobileRedirectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ public function test_is_using_client_side_redirection() {
add_filter( 'amp_dev_mode_enabled', '__return_true' );
$this->assertTrue( $this->instance->is_using_client_side_redirection() );
remove_filter( 'amp_dev_mode_enabled', '__return_true' );
wp_set_current_user( 0 );

$this->assertFalse( $this->instance->is_using_client_side_redirection() );
global $wp_customize;
Expand Down

0 comments on commit 4148e13

Please sign in to comment.