mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-11-11 17:01:43 +00:00
MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34. Bug: T293043 Change-Id: I3a4b25e284497b72ef3fa6bb4082e07fb57a4fb9
This commit is contained in:
parent
3bb3f3ebdc
commit
d2f79d1664
|
@ -8,7 +8,7 @@
|
|||
"descriptionmsg": "securelinkfixer-desc",
|
||||
"type": "other",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.32.0"
|
||||
"MediaWiki": ">= 1.34.0"
|
||||
},
|
||||
"AutoloadNamespaces": {
|
||||
"MediaWiki\\SecureLinkFixer\\": "includes/"
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
namespace MediaWiki\SecureLinkFixer\Test;
|
||||
|
||||
use MediaWiki\SecureLinkFixer\ListFetcher;
|
||||
use MediaWikiTestCase;
|
||||
use MediaWikiIntegrationTestCase;
|
||||
|
||||
/**
|
||||
* Integration test and sanity check for domains.php
|
||||
* @coversNothing
|
||||
*/
|
||||
class DomainsTest extends MediaWikiTestCase {
|
||||
class DomainsTest extends MediaWikiIntegrationTestCase {
|
||||
|
||||
public function testReproducibility() {
|
||||
$domains = file_get_contents( __DIR__ . '/../../domains.php' );
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
namespace MediaWiki\SecureLinkFixer\Test;
|
||||
|
||||
use MediaWiki\SecureLinkFixer\HSTSPreloadLookup;
|
||||
use MediaWikiTestCase;
|
||||
use MediaWikiIntegrationTestCase;
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\SecureLinkFixer\HSTSPreloadLookup
|
||||
*/
|
||||
class HSTSPreloadLookupTest extends MediaWikiTestCase {
|
||||
class HSTSPreloadLookupTest extends MediaWikiIntegrationTestCase {
|
||||
|
||||
/**
|
||||
* @dataProvider provideIsPreloaded
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
namespace MediaWiki\SecureLinkFixer\Test;
|
||||
|
||||
use MediaWiki\SecureLinkFixer\Hooks;
|
||||
use MediaWikiTestCase;
|
||||
use MediaWikiIntegrationTestCase;
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\SecureLinkFixer\Hooks
|
||||
*/
|
||||
class HooksTest extends MediaWikiTestCase {
|
||||
class HooksTest extends MediaWikiIntegrationTestCase {
|
||||
|
||||
/**
|
||||
* @dataProvider provideOnLinkerMakeExternalLink
|
||||
|
|
Loading…
Reference in a new issue