Unit Tests: Fix the unit test added in [36181] to include the index in the comparison.
See #35235 git-svn-id: https://develop.svn.wordpress.org/trunk@36183 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e85247571
commit
549c4fdd1d
|
@ -15,7 +15,7 @@ class Tests_Rewrite_Permastructs extends WP_UnitTestCase {
|
||||||
global $wp_rewrite;
|
global $wp_rewrite;
|
||||||
|
|
||||||
add_permastruct( 'foo', 'bar/%foo%' );
|
add_permastruct( 'foo', 'bar/%foo%' );
|
||||||
$this->assertEqualSets( array(
|
$this->assertEqualSetsWithIndex( array(
|
||||||
'with_front' => true,
|
'with_front' => true,
|
||||||
'ep_mask' => EP_NONE,
|
'ep_mask' => EP_NONE,
|
||||||
'paged' => true,
|
'paged' => true,
|
||||||
|
|
Loading…
Reference in New Issue