Typo in a test: '+' instead of '.' to concatenate strings
authorSeb35 <seb35wikipedia@gmail.com>
Sat, 3 Sep 2016 14:29:13 +0000 (16:29 +0200)
committerSeb35 <seb35wikipedia@gmail.com>
Sat, 3 Sep 2016 14:29:13 +0000 (16:29 +0200)
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

tests/phpunit/includes/filerepo/file/FileTest.php

index c5fd369..6520610 100644 (file)
@@ -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',