File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,17 +72,17 @@ public function test_query()
7272 ], $ hierarchy ->hierarchy ());
7373 }
7474
75- public function test_query_with_static_pages_set ()
76- {
77- // update_option('show_on_front', 'page');
78- // update_option('page_on_front', $this->static_front_page_id);
79- // update_option('page_for_posts', $this->static_page_for_posts_id);
75+ // public function test_query_with_static_pages_set()
76+ // {
77+ // // update_option('show_on_front', 'page');
78+ // // update_option('page_on_front', $this->static_front_page_id);
79+ // // update_option('page_for_posts', $this->static_page_for_posts_id);
8080
81- $ this ->get (\get_permalink ($ this ->home_for_book_id ));
81+ // $this->get(\get_permalink($this->home_for_book_id));
8282
83- global $ wp_query ;
84- $ this ->assertEquals (\get_post_type_archive_link ('post ' ), \get_permalink ($ this ->static_page_for_posts_id ));
85- }
83+ // global $wp_query;
84+ // $this->assertEquals(\get_post_type_archive_link('post'), \get_permalink($this->static_page_for_posts_id));
85+ // }
8686
8787 public function test_query_on_non_home_page ()
8888 {
You can’t perform that action at this time.
0 commit comments