Merge "registration: Deprecate ParserTestFiles in extension.json"
[lhc/web/wiklou.git] / tests / phpunit / includes / RevisionDbTestBase.php
index d05217f..bbd034a 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 use MediaWiki\MediaWikiServices;
 use MediaWiki\Revision\MutableRevisionRecord;
 use MediaWiki\Revision\RevisionStore;
@@ -1551,8 +1552,6 @@ abstract class RevisionDbTestBase extends MediaWikiTestCase {
                                ],
                        ]
                );
-               // TODO: this one is necessary to pass globals changes to PermissionManger
-               $this->overrideMwServices();
                $user = $this->getTestUser( $userGroups )->getUser();
 
                $this->assertSame(
@@ -1606,8 +1605,6 @@ abstract class RevisionDbTestBase extends MediaWikiTestCase {
                                ],
                        ]
                );
-               // TODO: this one is necessary to pass globals changes to PermissionManger
-               $this->overrideMwServices();
                $user = $this->getTestUser( $userGroups )->getUser();
                $revision = new Revision( [ 'deleted' => $bitField ], 0, $this->testPage->getTitle() );