aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/integration/includes/libs/filebackend/MemoryFileBackendIntegrationTest.php
blob: f5dae37a7eaf95d59df05e5a5a35c402e24f1a63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

use MediaWiki\WikiMap\WikiMap;
use Wikimedia\FileBackend\MemoryFileBackend;

/**
 * @group FileBackend
 * @covers \Wikimedia\FileBackend\MemoryFileBackend
 * @covers \Wikimedia\FileBackend\FileBackendStore
 * @covers \NullLockManager
 */
class MemoryFileBackendIntegrationTest extends FileBackendIntegrationTestBase {
	protected function getBackend() {
		return new MemoryFileBackend( [
			'name' => 'localtesting',
			'wikiId' => WikiMap::getCurrentWikiId(),
		] );
	}
}