MediaWikiTestCase -> MediaWikiIntegrationTestCase

MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I3a4b25e284497b72ef3fa6bb4082e07fb57a4fb9
This commit is contained in:
Alexander Vorwerk 2021-10-13 12:26:07 +02:00 committed by Umherirrender
parent 3bb3f3ebdc
commit d2f79d1664
4 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@
"descriptionmsg": "securelinkfixer-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.32.0"
"MediaWiki": ">= 1.34.0"
},
"AutoloadNamespaces": {
"MediaWiki\\SecureLinkFixer\\": "includes/"

View file

@ -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' );

View file

@ -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

View file

@ -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