From 549c4fdd1d98d2229e4b59fa2c8227f76cee9de6 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 6 Jan 2016 08:09:51 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/rewrite/permastructs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rewrite/permastructs.php b/tests/phpunit/tests/rewrite/permastructs.php index 34133987fc..fe0db099c0 100644 --- a/tests/phpunit/tests/rewrite/permastructs.php +++ b/tests/phpunit/tests/rewrite/permastructs.php @@ -15,7 +15,7 @@ class Tests_Rewrite_Permastructs extends WP_UnitTestCase { global $wp_rewrite; add_permastruct( 'foo', 'bar/%foo%' ); - $this->assertEqualSets( array( + $this->assertEqualSetsWithIndex( array( 'with_front' => true, 'ep_mask' => EP_NONE, 'paged' => true,