mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 02:54:23 +00:00
Remove use of whitelist in comment
Bug: T277963 Change-Id: I0355bd4fe912b161d0769eb47d03db5400ce5601
This commit is contained in:
parent
dcf42d95c5
commit
ce439d6ba4
|
@ -97,7 +97,6 @@ class ApiCoreThankIntegrationTest extends ApiTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testLogRequestWithDisallowedLogType() {
|
public function testLogRequestWithDisallowedLogType() {
|
||||||
// Empty the log-type whitelist.
|
|
||||||
$this->setMwGlobals( [ 'wgThanksAllowedLogTypes' => [] ] );
|
$this->setMwGlobals( [ 'wgThanksAllowedLogTypes' => [] ] );
|
||||||
$this->expectException( ApiUsageException::class );
|
$this->expectException( ApiUsageException::class );
|
||||||
$this->expectExceptionMessage(
|
$this->expectExceptionMessage(
|
||||||
|
|
Loading…
Reference in a new issue