From 6e920218c2359a37db9403959620b2d11e9e15e4 Mon Sep 17 00:00:00 2001 From: Chad Date: Tue, 29 Jul 2014 21:23:03 +0000 Subject: [PATCH] Revert "test: coverage for wfWikiID()" Introduces broken test that doesn't pass regression or HHVM. This reverts commit 4f55b804f20960e039671a3dbf3f3eb4a5a4b81e. Change-Id: Ib82cc9b89e7392b752e9ef98134e90186e371247 --- .../includes/GlobalFunctions/wfWikiIDTest.php | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 tests/phpunit/includes/GlobalFunctions/wfWikiIDTest.php 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() ); - } - -} -- 2.20.1