@@ -20,7 +20,7 @@ class get_all_location_ids_test extends location_base
2020 public function get_all_location_ids_data ()
2121 {
2222 return array (
23- array ('index ' , '' , false , array (
23+ array ('index ' , '' , array (
2424 'above_header ' ,
2525 'after_header_navbar ' ,
2626 'below_header ' ,
@@ -31,7 +31,7 @@ public function get_all_location_ids_data()
3131 'slide_up ' ,
3232 'scripts ' ,
3333 )),
34- array ('viewtopic ' , '' , false , array (
34+ array ('viewtopic ' , '' , array (
3535 'above_header ' ,
3636 'after_header_navbar ' ,
3737 'below_header ' ,
@@ -48,7 +48,7 @@ public function get_all_location_ids_data()
4848 'slide_up ' ,
4949 'scripts ' ,
5050 )),
51- array ('memberlist ' , 'viewprofile ' , false , array (
51+ array ('memberlist ' , 'viewprofile ' , array (
5252 'above_header ' ,
5353 'after_header_navbar ' ,
5454 'below_header ' ,
@@ -61,13 +61,14 @@ public function get_all_location_ids_data()
6161 'slide_up ' ,
6262 'scripts ' ,
6363 )),
64- array ('index ' , '' , true , array (
64+ array ('index ' , '' , array (
6565 'above_header ' ,
6666 'after_header_navbar ' ,
6767 'below_header ' ,
6868 'above_footer ' ,
6969 'after_footer_navbar ' ,
7070 'below_footer ' ,
71+ 'pop_up ' ,
7172 'slide_up ' ,
7273 'scripts ' ,
7374 )),
@@ -79,16 +80,11 @@ public function get_all_location_ids_data()
7980 *
8081 * @dataProvider get_all_location_ids_data
8182 */
82- public function test_get_all_location_ids ($ page_name , $ query_string , $ cookie , $ expected )
83+ public function test_get_all_location_ids ($ page_name , $ query_string , $ expected )
8384 {
8485 $ this ->user ->page ['page_name ' ] = $ page_name ;
8586 $ this ->user ->page ['query_string ' ] = $ query_string ;
8687
87- $ this ->request
88- ->method ('is_set ' )
89- ->with ('_pop_up ' )
90- ->willReturn ($ cookie );
91-
9288 $ manager = $ this ->get_manager ();
9389
9490 $ location_ids = $ manager ->get_all_location_ids ();
0 commit comments