Merge "DatabaseMssql: Don't duplicate body of makeList()"
[mediawiki.git] / tests / phpunit / includes / MediaWikiVersionFetcherTest.php
blobe548f817484969ac67e692ca1dc10c45846de2d9
1 <?php
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.
7 * @covers MediaWikiVersionFetcher
9 * @group ComposerHooks
11 * @licence GNU GPL v2+
12 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
14 class MediaWikiVersionFetcherTest extends PHPUnit_Framework_TestCase {
16 public function testReturnsResult() {
17 $versionFetcher = new MediaWikiVersionFetcher();
18 $this->assertInternalType( 'string', $versionFetcher->fetchVersion() );