Skip to content

Commit 8fe976f

Browse files
authored
Remove tests with invalid argument type (#252)
1 parent 85efa82 commit 8fe976f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/data/echo_key.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
$args = ['echo' => $_GET['foo']];
6464
assertType('string|void', get_search_form($args));
6565
assertType('string|void', the_title_attribute($args));
66-
assertType('string|void', wp_link_pages($args));
6766
assertType('string|void', wp_list_authors($args));
6867
assertType('string|void', wp_list_comments($args));
6968
assertType('string|void', wp_list_users($args));
@@ -73,7 +72,6 @@
7372
// Explicit no query string value
7473
$args = 'akey=avalue';
7574
assertType('void', the_title_attribute($args));
76-
assertType('void', wp_link_pages($args));
7775
assertType('void', wp_list_authors($args));
7876
assertType('void', wp_list_comments($args));
7977
assertType('void', wp_list_users($args));
@@ -82,7 +80,6 @@
8280
// Explicit non empty non numeric query string value (includes 'true' & 'false')
8381
$args = 'echo=nonemptynonnumeric&akey=avalue';
8482
assertType('void', the_title_attribute($args));
85-
assertType('void', wp_link_pages($args));
8683
assertType('void', wp_list_authors($args));
8784
assertType('void', wp_list_comments($args));
8885
assertType('void', wp_list_users($args));
@@ -91,7 +88,6 @@
9188
// Explicit non zero numeric query string value
9289
$args = 'echo=1&akey=avalue';
9390
assertType('void', the_title_attribute($args));
94-
assertType('void', wp_link_pages($args));
9591
assertType('void', wp_list_authors($args));
9692
assertType('void', wp_list_comments($args));
9793
assertType('void', wp_list_users($args));
@@ -100,7 +96,6 @@
10096
// Explicit query string value of 0
10197
$args = 'echo=0&akey=avalue';
10298
assertType('string|void', the_title_attribute($args));
103-
assertType('string', wp_link_pages($args));
10499
assertType('string', wp_list_authors($args));
105100
assertType('string|void', wp_list_comments($args));
106101
assertType('string', wp_list_users($args));
@@ -109,7 +104,6 @@
109104
// Explicit empty query string value
110105
$args = 'echo=&akey=avalue';
111106
assertType('string|void', the_title_attribute($args));
112-
assertType('string', wp_link_pages($args));
113107
assertType('string', wp_list_authors($args));
114108
assertType('string|void', wp_list_comments($args));
115109
assertType('string', wp_list_users($args));
@@ -119,7 +113,6 @@
119113
$args = $_GET['foo'];
120114
assertType('string|void', get_search_form($args));
121115
assertType('string|void', the_title_attribute($args));
122-
assertType('string|void', wp_link_pages($args));
123116
assertType('string|void', wp_list_authors($args));
124117
assertType('string|void', wp_list_comments($args));
125118
assertType('string|void', wp_list_users($args));
@@ -131,7 +124,6 @@
131124
$args = '';
132125
assertType('string|void', get_search_form($args));
133126
assertType('string|void', the_title_attribute($args));
134-
assertType('string|void', wp_link_pages($args));
135127
assertType('string|void', wp_list_authors($args));
136128
assertType('string|void', wp_list_comments($args));
137129
assertType('string|void', wp_list_users($args));

0 commit comments

Comments
 (0)