dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Provide MW_VERSION and soft-deprecate global $wgVersion
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
MediaWikiVersionFetcherTest.php
diff --git
a/tests/phpunit/includes/MediaWikiVersionFetcherTest.php
b/tests/phpunit/includes/MediaWikiVersionFetcherTest.php
index
87a7dff
..
839f6ac
100644
(file)
--- a/
tests/phpunit/includes/MediaWikiVersionFetcherTest.php
+++ b/
tests/phpunit/includes/MediaWikiVersionFetcherTest.php
@@
-16,7
+16,7
@@
class MediaWikiVersionFetcherTest extends PHPUnit\Framework\TestCase {
public function testReturnsResult() {
$versionFetcher = new MediaWikiVersionFetcher();
- $this->assert
InternalType( 'string'
, $versionFetcher->fetchVersion() );
+ $this->assert
Same( MW_VERSION
, $versionFetcher->fetchVersion() );
}
}