Debian Codegraph @

tests/phpunit/unit/includes/Settings/Source/ArraySourceTest.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Tests\Unit\Settings\Source;
4
5 use MediaWiki\Settings\Source\ArraySource;
6 use PHPUnit\Framework\TestCase;
7
8 /**
9 * @covers \MediaWiki\Settings\Source\ArraySource
10 */
11 class ArraySourceTest extends TestCase {
12 public function testLoad() {
13 $source = new ArraySource(
14 [ 'config' => [ 'MySettings' => 'BlaBla' ] ]
15 );
16
17 $this->assertSame(
18 [ 'config' => [ 'MySettings' => 'BlaBla' ] ],
19 $source->load()
20 );
21 }
22 }