aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php')
-rw-r--r--tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php b/tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php
index 63e6093bb767..7a21c6983778 100644
--- a/tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php
+++ b/tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php
@@ -94,7 +94,7 @@ trait FileBackendGroupTestTrait {
public function testConstructor_backendObject() {
// 'backend' being an object makes that repo from configuration ignored
// XXX This is not documented in DefaultSettings.php, does it do anything useful?
- $obj = $this->newObj( [ 'ForeignFileRepos' => [ [ 'backend' => new stdclass ] ] ] );
+ $obj = $this->newObj( [ 'ForeignFileRepos' => [ [ 'backend' => (object)[] ] ] ] );
$this->assertSame( FSFileBackend::class, $obj->config( 'local-backend' )['class'] );
}