Selenium: replace UserLoginPage with BlankPage where possible
[lhc/web/wiklou.git] / tests / phpunit / includes / MediaWikiVersionFetcherTest.php
1 <?php
2
3 /**
4 * Note: this is not a unit test, as it touches the file system and reads an actual file.
5 * If unit tests are added for MediaWikiVersionFetcher, this should be done in a distinct test case.
6 *
7 * @covers MediaWikiVersionFetcher
8 *
9 * @group ComposerHooks
10 *
11 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
12 */
13 class MediaWikiVersionFetcherTest extends MediaWikiTestCase {
14
15 use MediaWikiCoversValidator;
16
17 public function testReturnsResult() {
18 global $wgVersion;
19 $versionFetcher = new MediaWikiVersionFetcher();
20 $this->assertSame( $wgVersion, $versionFetcher->fetchVersion() );
21 }
22
23 }