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:
Thalia 2024-11-13 18:53:45 +00:00
parent 1fcf9adb92
commit 2cb1ad0f58

View file

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