Merge "RCFilters: Convert patrolled filter to three states"
[lhc/web/wiklou.git] / tests / phpunit / includes / site / FileBasedSiteLookupTest.php
index 7984795..69e0e38 100644 (file)
@@ -27,7 +27,9 @@
  *
  * @author Katie Filbert < aude.wiki@gmail.com >
  */
-class FileBasedSiteLookupTest extends PHPUnit_Framework_TestCase {
+class FileBasedSiteLookupTest extends PHPUnit\Framework\TestCase {
+
+       use MediaWikiCoversValidator;
 
        protected function setUp() {
                $this->cacheFile = $this->getCacheFile();
@@ -64,7 +66,7 @@ class FileBasedSiteLookupTest extends PHPUnit_Framework_TestCase {
        }
 
        private function getSiteLookup( SiteList $sites ) {
-               $siteLookup = $this->getMockBuilder( 'SiteLookup' )
+               $siteLookup = $this->getMockBuilder( SiteLookup::class )
                        ->disableOriginalConstructor()
                        ->getMock();