@@ -48,7 +48,7 @@ function test_page_templates() {
4848
4949 switch_theme ( $ theme ['Template ' ], $ theme ['Stylesheet ' ] );
5050
51- $ this ->assertEqualSetsWithIndex (
51+ $ this ->assertSameSetsWithIndex (
5252 array (
5353 'Top Level ' => 'template-top-level.php ' ,
5454 'Sub Dir ' => 'subdir/template-sub-dir.php ' ,
@@ -62,7 +62,7 @@ function test_page_templates() {
6262
6363 switch_theme ( $ theme ['Template ' ], $ theme ['Stylesheet ' ] );
6464
65- $ this ->assertEqualSetsWithIndex (
65+ $ this ->assertSameSetsWithIndex (
6666 array (
6767 'Top Level ' => 'template-top-level.php ' ,
6868 'Sub Dir ' => 'subdir/template-sub-dir.php ' ,
@@ -81,14 +81,14 @@ function test_page_templates_different_post_types() {
8181
8282 switch_theme ( $ theme ['Template ' ], $ theme ['Stylesheet ' ] );
8383
84- $ this ->assertEqualSetsWithIndex (
84+ $ this ->assertSameSetsWithIndex (
8585 array (
8686 'Top Level ' => 'template-top-level-post-types.php ' ,
8787 'Sub Dir ' => 'subdir/template-sub-dir-post-types.php ' ,
8888 ),
8989 get_page_templates ( null , 'foo ' )
9090 );
91- $ this ->assertEqualSetsWithIndex (
91+ $ this ->assertSameSetsWithIndex (
9292 array (
9393 'Top Level ' => 'template-top-level-post-types.php ' ,
9494 'Sub Dir ' => 'subdir/template-sub-dir-post-types.php ' ,
@@ -107,7 +107,7 @@ function test_page_templates_for_post_types_with_trailing_periods() {
107107
108108 switch_theme ( $ theme ['Template ' ], $ theme ['Stylesheet ' ] );
109109
110- $ this ->assertEqualSetsWithIndex (
110+ $ this ->assertSameSetsWithIndex (
111111 array (
112112 'No Trailing Period ' => '38766/no-trailing-period-post-types.php ' ,
113113 'Trailing Period. ' => '38766/trailing-period-post-types.php ' ,
@@ -118,7 +118,7 @@ function test_page_templates_for_post_types_with_trailing_periods() {
118118 ),
119119 get_page_templates ( null , 'period ' )
120120 );
121- $ this ->assertEqualSetsWithIndex (
121+ $ this ->assertSameSetsWithIndex (
122122 array (
123123 'No Trailing Period ' => '38766/no-trailing-period-post-types.php ' ,
124124 'Trailing Period. ' => '38766/trailing-period-post-types.php ' ,
@@ -139,7 +139,7 @@ function test_page_templates_child_theme() {
139139
140140 switch_theme ( $ theme ['Template ' ], $ theme ['Stylesheet ' ] );
141141
142- $ this ->assertEqualSetsWithIndex (
142+ $ this ->assertSameSetsWithIndex (
143143 array (
144144 'Top Level ' => 'template-top-level-post-types.php ' ,
145145 'Sub Dir ' => 'subdir/template-sub-dir-post-types.php ' ,
@@ -149,15 +149,15 @@ function test_page_templates_child_theme() {
149149 get_page_templates ( null , 'foo ' )
150150 );
151151
152- $ this ->assertEqualSetsWithIndex (
152+ $ this ->assertSameSetsWithIndex (
153153 array (
154154 'Top Level ' => 'template-top-level-post-types.php ' ,
155155 'Sub Dir ' => 'subdir/template-sub-dir-post-types.php ' ,
156156 ),
157157 get_page_templates ( null , 'post ' )
158158 );
159159
160- $ this ->assertEqualSetsWithIndex (
160+ $ this ->assertSameSetsWithIndex (
161161 array (
162162 'Top Level ' => 'template-top-level.php ' ,
163163 'Sub Dir ' => 'subdir/template-sub-dir.php ' ,
@@ -180,7 +180,7 @@ public function test_get_post_templates_child_theme() {
180180
181181 $ post_templates = $ theme ->get_post_templates ();
182182
183- $ this ->assertEqualSetsWithIndex (
183+ $ this ->assertSameSetsWithIndex (
184184 array (
185185 'template-top-level-post-types.php ' => 'Top Level ' ,
186186 'subdir/template-sub-dir-post-types.php ' => 'Sub Dir ' ,
@@ -190,15 +190,15 @@ public function test_get_post_templates_child_theme() {
190190 $ post_templates ['foo ' ]
191191 );
192192
193- $ this ->assertEqualSetsWithIndex (
193+ $ this ->assertSameSetsWithIndex (
194194 array (
195195 'template-top-level-post-types.php ' => 'Top Level ' ,
196196 'subdir/template-sub-dir-post-types.php ' => 'Sub Dir ' ,
197197 ),
198198 $ post_templates ['post ' ]
199199 );
200200
201- $ this ->assertEqualSetsWithIndex (
201+ $ this ->assertSameSetsWithIndex (
202202 array (
203203 'template-top-level.php ' => 'Top Level ' ,
204204 'subdir/template-sub-dir.php ' => 'Sub Dir ' ,
0 commit comments