Move DatabaseDomain to Rdbms namespace
[mediawiki.git] / tests / phpunit / includes / MediaWikiVersionFetcherTest.php
blobfa59ef2901a3f35c85aaae5da86500a513d00cdc
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 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
13 class MediaWikiVersionFetcherTest extends PHPUnit_Framework_TestCase {
15 public function testReturnsResult() {
16 $versionFetcher = new MediaWikiVersionFetcher();
17 $this->assertInternalType( 'string', $versionFetcher->fetchVersion() );