It was actually testing for associated. Thanks copy & paste for this bug.
Test result:
$ php phpunit.php -c suite.xml includes/MWNamespaceTest.php
.........IIIII..........
Tests: 24, Assertions: 99, Incomplete: 5.
* @expectedException MWException
*/
public function testGetTalkExceptions() {
- $this->assertNull( MWNamespace::getAssociated( NS_MEDIA ) );
- $this->assertNull( MWNamespace::getAssociated( NS_SPECIAL ) );
+ $this->assertNull( MWNamespace::getTalk( NS_MEDIA ) );
+ $this->assertNull( MWNamespace::getTalk( NS_SPECIAL ) );
}
/**