Selenium: replace UserLoginPage with BlankPage where possible
[lhc/web/wiklou.git] / tests / phpunit / includes / site / HashSiteStoreTest.php
index bebc093..6269fd3 100644 (file)
@@ -30,7 +30,7 @@ class HashSiteStoreTest extends MediaWikiTestCase {
         * @covers HashSiteStore::getSites
         */
        public function testGetSites() {
-               $expectedSites = array();
+               $expectedSites = [];
 
                foreach ( TestSites::getSites() as $testSite ) {
                        $siteId = $testSite->getGlobalId();
@@ -66,7 +66,7 @@ class HashSiteStoreTest extends MediaWikiTestCase {
        public function testSaveSites() {
                $store = new HashSiteStore();
 
-               $sites = array();
+               $sites = [];
 
                $site = new Site();
                $site->setGlobalId( 'enwiki' );