We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5306b47 commit 2a899fcCopy full SHA for 2a899fc
tests/Core/Ruleset/GetIgnorePatternsTest.php
@@ -58,7 +58,13 @@ public static function initializeConfigAndRuleset()
58
*/
59
public function testGetIgnorePatterns($listener, $expected)
60
{
61
- $this->assertSame($expected, self::$ruleset->getIgnorePatterns($listener));
+ $actual = self::$ruleset->getIgnorePatterns($listener);
62
+
63
+ // Prevent differences in the order of the array from failing the test.
64
+ ksort($expected);
65
+ ksort($actual);
66
67
+ $this->assertSame($expected, $actual);
68
69
}//end testGetIgnorePatterns()
70
0 commit comments