Merge "Make assertFileContains not create files by default"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiTestCase.php
index 51a3f07..6d5439b 100644 (file)
@@ -2217,7 +2217,7 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
        protected function assertFileContains(
                $fileName,
                $actualData,
-               $createIfMissing = true,
+               $createIfMissing = false,
                $msg = ''
        ) {
                if ( $createIfMissing ) {