Merge "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git] / tests / phpunit / unit / 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 \MediaWikiUnitTestCase {
14
15 public function testReturnsResult() {
16 global $wgVersion;
17 $versionFetcher = new MediaWikiVersionFetcher();
18 $this->assertSame( $wgVersion, $versionFetcher->fetchVersion() );
19 }
20
21 }