aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/SiteConfigurationTest.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@users.mediawiki.org>2011-07-03 18:09:30 +0000
committerAntoine Musso <hashar@users.mediawiki.org>2011-07-03 18:09:30 +0000
commit854b84ef429c7f59d6bd20a2907c5144c4b6deac (patch)
treeab8471f421accd94354103c20bf64546bc8e8d49 /tests/phpunit/includes/SiteConfigurationTest.php
parent1bc2eb8a8188a893a837235b0ec277136cd756cc (diff)
downloadmediawikicore-854b84ef429c7f59d6bd20a2907c5144c4b6deac.tar.gz
mediawikicore-854b84ef429c7f59d6bd20a2907c5144c4b6deac.zip
enhance tests name (for --testdox option)
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/91378
Diffstat (limited to 'tests/phpunit/includes/SiteConfigurationTest.php')
-rw-r--r--tests/phpunit/includes/SiteConfigurationTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/phpunit/includes/SiteConfigurationTest.php b/tests/phpunit/includes/SiteConfigurationTest.php
index 6ed30f264733..57d3532a5bf4 100644
--- a/tests/phpunit/includes/SiteConfigurationTest.php
+++ b/tests/phpunit/includes/SiteConfigurationTest.php
@@ -93,7 +93,7 @@ class SiteConfigurationTest extends MediaWikiTestCase {
}
- function testSiteFromDB() {
+ function testSiteFromDb() {
$this->assertEquals(
array( 'wikipedia', 'en' ),
$this->mConf->siteFromDB( 'enwiki' ),
@@ -126,7 +126,7 @@ class SiteConfigurationTest extends MediaWikiTestCase {
);
}
- function testGet() {
+ function testGetConfVariables() {
$this->assertEquals(
'enwiki',
$this->mConf->get( 'simple', 'enwiki', 'wiki' ),
@@ -238,7 +238,7 @@ class SiteConfigurationTest extends MediaWikiTestCase {
);
}
- function testSiteFromDBWithCallback() {
+ function testSiteFromDbWithCallback() {
$this->mConf->siteParamsCallback = 'getSiteParams';
$this->assertEquals(
@@ -258,7 +258,7 @@ class SiteConfigurationTest extends MediaWikiTestCase {
);
}
- function testParamReplacement() {
+ function testParameterReplacement() {
$this->mConf->siteParamsCallback = 'getSiteParams';
$this->assertEquals(
@@ -288,7 +288,7 @@ class SiteConfigurationTest extends MediaWikiTestCase {
);
}
- function testGetAll() {
+ function testGetAllGlobals() {
$this->mConf->siteParamsCallback = 'getSiteParams';
$getall = array(