| Index: trunk/phase3/tests/phpunit/includes/MWNamespaceTest.php |
| — | — | @@ -86,11 +86,19 @@ |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | 89 | * Exceptions with getTalk() |
| 90 | | - * NS_MEDIA and NS_SPECIAL do not have talk pages. MediaWiki raise an exception for them. |
| | 90 | + * NS_MEDIA does not have talk pages. MediaWiki raise an exception for them. |
| 91 | 91 | * @expectedException MWException |
| 92 | 92 | */ |
| 93 | | - public function testGetTalkExceptions() { |
| | 93 | + public function testGetTalkExceptionsForNsMedia() { |
| 94 | 94 | $this->assertNull( MWNamespace::getTalk( NS_MEDIA ) ); |
| | 95 | + } |
| | 96 | + |
| | 97 | + /** |
| | 98 | + * Exceptions with getTalk() |
| | 99 | + * NS_SPECIAL does not have talk pages. MediaWiki raise an exception for them. |
| | 100 | + * @expectedException MWException |
| | 101 | + */ |
| | 102 | + public function testGetTalkExceptionsForNsSpecial() { |
| 95 | 103 | $this->assertNull( MWNamespace::getTalk( NS_SPECIAL ) ); |
| 96 | 104 | } |
| 97 | 105 | |
| — | — | @@ -114,6 +122,7 @@ |
| 115 | 123 | public function testGetAssociatedExceptionsForNsMedia() { |
| 116 | 124 | $this->assertNull( MWNamespace::getAssociated( NS_MEDIA ) ); |
| 117 | 125 | } |
| | 126 | + |
| 118 | 127 | /** |
| 119 | 128 | * @expectedException MWException |
| 120 | 129 | */ |