File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public function test_redirect_on_transitional_and_not_available() {
156
156
AMP_Options_Manager::update_option ( Option::THEME_SUPPORT , AMP_Theme_Support::TRANSITIONAL_MODE_SLUG );
157
157
AMP_Options_Manager::update_option ( Option::ALL_TEMPLATES_SUPPORTED , false );
158
158
AMP_Options_Manager::update_option ( Option::SUPPORTED_TEMPLATES , [ 'is_author ' ] );
159
- $ this ->go_to ( amp_add_paired_endpoint ( '/ ' ) );
159
+ $ this ->go_to ( '/ ' );
160
160
$ this ->assertFalse ( amp_is_canonical () );
161
161
$ this ->assertFalse ( amp_is_available () );
162
162
$ this ->instance ->redirect ();
@@ -190,7 +190,8 @@ public function test_redirect_when_server_side_and_not_applicable() {
190
190
add_filter ( 'amp_mobile_client_side_redirection ' , '__return_false ' );
191
191
add_filter ( 'amp_pre_is_mobile ' , '__return_false ' );
192
192
193
- $ this ->go_to ( amp_add_paired_endpoint ( '/ ' ) );
193
+ $ this ->go_to ( '/ ' );
194
+
194
195
$ this ->assertFalse ( amp_is_request () );
195
196
$ this ->assertFalse ( $ this ->instance ->is_mobile_request () );
196
197
You can’t perform that action at this time.
0 commit comments