blob: e548f817484969ac67e692ca1dc10c45846de2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
/**
* Note: this is not a unit test, as it touches the file system and reads an actual file.
* If unit tests are added for MediaWikiVersionFetcher, this should be done in a distinct test case.
*
* @covers MediaWikiVersionFetcher
*
* @group ComposerHooks
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class MediaWikiVersionFetcherTest extends PHPUnit_Framework_TestCase {
public function testReturnsResult() {
$versionFetcher = new MediaWikiVersionFetcher();
$this->assertInternalType( 'string', $versionFetcher->fetchVersion() );
}
}
|