Fix assertArrayEquals() calls with bogus 3rd parameter
[lhc/web/wiklou.git] / tests / phpunit / structure / ResourcesTest.php
index 776dee1..f41ab3a 100644 (file)
@@ -155,7 +155,7 @@ class ResourcesTest extends MediaWikiTestCase {
                $css = file_get_contents( $basepath . 'comments.css' );
                $files = CSSMin::getLocalFileReferences( $css, $basepath );
                $expected = [ $basepath . 'not-commented.gif' ];
-               $this->assertArrayEquals(
+               $this->assertSame(
                        $expected,
                        $files,
                        'Url(...) expression in comment should be omitted.'