mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
SpecialAbuseFilterTest: Remove unused trait
Remove the use statement for MockAuthorityTrait, which is unused. We can't use it because SpecialAbuseFilter checks permissions on the user, not the authority. Change-Id: I2baca5753dd9e21aa90b6856c5850d1100eda4d5
This commit is contained in:
parent
1fcf9adb92
commit
2cb1ad0f58
|
@ -22,7 +22,6 @@ use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools;
|
|||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Permissions\SimpleAuthority;
|
||||
use MediaWiki\Request\FauxRequest;
|
||||
use MediaWiki\Tests\Unit\Permissions\MockAuthorityTrait;
|
||||
use SpecialPageTestBase;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
|
@ -42,8 +41,6 @@ use Wikimedia\TestingAccessWrapper;
|
|||
* @group Database
|
||||
*/
|
||||
class SpecialAbuseFilterTest extends SpecialPageTestBase {
|
||||
use MockAuthorityTrait;
|
||||
|
||||
/**
|
||||
* @var SimpleAuthority
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue