From: Chad Date: Tue, 29 Jul 2014 21:23:03 +0000 (+0000) Subject: Revert "test: coverage for wfWikiID()" X-Git-Tag: 1.31.0-rc.0~14684^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=6e920218c2359a37db9403959620b2d11e9e15e4;p=lhc%2Fweb%2Fwiklou.git Revert "test: coverage for wfWikiID()" Introduces broken test that doesn't pass regression or HHVM. This reverts commit 4f55b804f20960e039671a3dbf3f3eb4a5a4b81e. Change-Id: Ib82cc9b89e7392b752e9ef98134e90186e371247 --- diff --git a/tests/phpunit/includes/GlobalFunctions/wfWikiIDTest.php b/tests/phpunit/includes/GlobalFunctions/wfWikiIDTest.php deleted file mode 100644 index d3cba0d28c..0000000000 --- a/tests/phpunit/includes/GlobalFunctions/wfWikiIDTest.php +++ /dev/null @@ -1,22 +0,0 @@ -setMwGlobals( 'wgDBname', 'known_db_name' ); - $this->assertEquals('known_db_name', wfWikiID() ); - } - - public function testHonorsDatabasePrefix() { - $this->setMwGlobals( array( - 'wgDBname' => 'known_db_name', - 'wgDBprefix' => 'prefix', - )); - # Note: prefix is actually a suffix in wfWikiID() - $this->assertEquals('known_db_name-prefix', wfWikiID() ); - } - -}