aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/filerepo/file/FileTest.php
diff options
context:
space:
mode:
authorSeb35 <seb35wikipedia@gmail.com>2016-09-03 16:29:13 +0200
committerSeb35 <seb35wikipedia@gmail.com>2016-09-03 16:29:13 +0200
commit0bd95a94cf6ea2793eb73753b8fa1f89d5c95ed8 (patch)
treed386acdbf781233f69583b0210638faf90674b55 /tests/phpunit/includes/filerepo/file/FileTest.php
parentcc5bacdeece1d94dc371ecf2a8052debc375a38c (diff)
downloadmediawikicore-0bd95a94cf6ea2793eb73753b8fa1f89d5c95ed8.tar.gz
mediawikicore-0bd95a94cf6ea2793eb73753b8fa1f89d5c95ed8.zip
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
Diffstat (limited to 'tests/phpunit/includes/filerepo/file/FileTest.php')
-rw-r--r--tests/phpunit/includes/filerepo/file/FileTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/filerepo/file/FileTest.php b/tests/phpunit/includes/filerepo/file/FileTest.php
index c5fd369f1477..65206107866b 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',