phpunit: Acknowledge known dberror from SpecialPageFatalTest
This is specifically for fatal errors, so it's fine that some queries encounter (non-fatal) errors. Surpress them for now, so that we can safely re-enable enforcement for everything else. Bug: T248191 Change-Id: I962ee2dbb0568cc869fda6fa7312edc45ba43215
This commit is contained in:
parent
1205a64850
commit
fffc34a52a
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,13 @@ use MediaWiki\MediaWikiServices;
|
|||
* @author Addshore
|
||||
*/
|
||||
class SpecialPageFatalTest extends MediaWikiTestCase {
|
||||
|
||||
public function setUp() : void {
|
||||
parent::setUp();
|
||||
// FIXME: Acknowledge known non-fatal query (T248191)
|
||||
$this->setMwGlobals( 'wgDBerrorLog', false );
|
||||
}
|
||||
|
||||
public function provideSpecialPages() {
|
||||
$specialPages = [];
|
||||
$spf = MediaWikiServices::getInstance()->getSpecialPageFactory();
|
||||
|
|
|
|||
Loading…
Reference in a new issue