Database: Allow selectFieldValues() to accept SQL fragments
[lhc/web/wiklou.git] / tests / phpunit / includes / MediaWikiServicesTest.php
index 859a40f..03588ae 100644 (file)
@@ -178,6 +178,9 @@ class MediaWikiServicesTest extends MediaWikiTestCase {
 
                MediaWikiServices::forceGlobalInstance( $oldServices );
                $newServices->destroy();
+
+               // No exception was thrown, avoid being risky
+               $this->assertTrue( true );
        }
 
        public function testResetChildProcessServices() {
@@ -344,6 +347,7 @@ class MediaWikiServicesTest extends MediaWikiTestCase {
                        'RevisionStore' => [ 'RevisionStore', RevisionStore::class ],
                        'RevisionLookup' => [ 'RevisionLookup', RevisionLookup::class ],
                        'HttpRequestFactory' => [ 'HttpRequestFactory', HttpRequestFactory::class ],
+                       'CommentStore' => [ 'CommentStore', CommentStore::class ],
                ];
        }