$this->setExpectedApiException( 'apierror-permissiondenied-unblock' );
$this->setGroupPermissions( 'sysop', 'block', false );
- $this->overrideMwServices();
$this->doUnblock();
}
ChangeTags::defineTag( 'custom tag' );
$this->setGroupPermissions( 'user', 'applychangetags', false );
- $this->overrideMwServices();
$this->doUnblock( [ 'tags' => 'custom tag' ] );
}