From: Seb35 Date: Sat, 3 Sep 2016 14:29:13 +0000 (+0200) Subject: Typo in a test: '+' instead of '.' to concatenate strings X-Git-Tag: 1.31.0-rc.0~5769^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=0bd95a94cf6ea2793eb73753b8fa1f89d5c95ed8;p=lhc%2Fweb%2Fwiklou.git Typo in a test: '+' instead of '.' to concatenate strings I found it by executing tests with PHP 7.1.0RC1, but even if PHP 7.1.0 is still a RC, this is a typo in PHP language. Change-Id: Ia97f881f8c80a23c51512189d9ca5a012612c532 --- diff --git a/tests/phpunit/includes/filerepo/file/FileTest.php b/tests/phpunit/includes/filerepo/file/FileTest.php index c5fd369f14..6520610786 100644 --- a/tests/phpunit/includes/filerepo/file/FileTest.php +++ b/tests/phpunit/includes/filerepo/file/FileTest.php @@ -206,7 +206,7 @@ class FileTest extends MediaWikiMediaTestCase { ] ], [ [ 'supportsBucketing' => true, - 'tmpBucketedThumbCache' => [ 1024 => '/tmp/shouldnotexist' + rand() ], + 'tmpBucketedThumbCache' => [ 1024 => '/tmp/shouldnotexist' . rand() ], 'thumbnailBucket' => 1024, 'physicalWidth' => 2048, 'expectedPath' => 'fsFilePath',