mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-27 15:30:48 +00:00
Use upstream markTestSkippedIfExtensionNotLoaded in test
Change-Id: I3cf1698e0b6808829d14d5b736237962fce9b945
This commit is contained in:
parent
52d708f9b3
commit
8662c467d8
|
@ -106,9 +106,7 @@ class ApiTitleBlacklistTest extends ApiTestCase {
|
|||
* Tests integration with the AntiSpoof extension
|
||||
*/
|
||||
public function testAntiSpoofIntegration() {
|
||||
if ( !ExtensionRegistry::getInstance()->isLoaded( 'AntiSpoof' ) ) {
|
||||
$this->markTestSkipped( "This test requires the AntiSpoof extension" );
|
||||
}
|
||||
$this->markTestSkippedIfExtensionNotLoaded( 'AntiSpoof' );
|
||||
|
||||
$listed = $this->doApiRequest( [
|
||||
'action' => 'titleblacklist',
|
||||
|
|
Loading…
Reference in a new issue