dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Remove unused functions from unroll of Article::__call""
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
MWNamespaceTest.php
diff --git
a/tests/phpunit/includes/MWNamespaceTest.php
b/tests/phpunit/includes/MWNamespaceTest.php
index
311350b
..
4fc54e8
100644
(file)
--- a/
tests/phpunit/includes/MWNamespaceTest.php
+++ b/
tests/phpunit/includes/MWNamespaceTest.php
@@
-29,7
+29,7
@@
class MWNamespaceTest extends MediaWikiTestCase {
) );
}
) );
}
-#### START OF TESTS #########################################################
+#
### START OF TESTS #########################################################
/**
* @todo Write more texts, handle $wgAllowImageMoving setting
/**
* @todo Write more texts, handle $wgAllowImageMoving setting
@@
-137,9
+137,9
@@
class MWNamespaceTest extends MediaWikiTestCase {
$this->assertEquals( NS_MAIN, MWNamespace::getAssociated( NS_TALK ) );
}
$this->assertEquals( NS_MAIN, MWNamespace::getAssociated( NS_TALK ) );
}
- ### Exceptions with getAssociated()
- ### NS_MEDIA and NS_SPECIAL do not have talk pages. MediaWiki raises
- ### an exception for them.
+ #
## Exceptions with getAssociated()
+ #
## NS_MEDIA and NS_SPECIAL do not have talk pages. MediaWiki raises
+ #
## an exception for them.
/**
* @expectedException MWException
* @covers MWNamespace::getAssociated
/**
* @expectedException MWException
* @covers MWNamespace::getAssociated
@@
-565,7
+565,7
@@
class MWNamespaceTest extends MediaWikiTestCase {
$this->assertFalse( MWNamespace::isNonincludable( NS_TEMPLATE ) );
}
$this->assertFalse( MWNamespace::isNonincludable( NS_TEMPLATE ) );
}
- ####### HELPERS ###########################################################
+ #
###### HELPERS ###########################################################
function __call( $method, $args ) {
// Call the real method if it exists
if ( method_exists( $this, $method ) ) {
function __call( $method, $args ) {
// Call the real method if it exists
if ( method_exists( $this, $method ) ) {