TitleTest::testIsWatchable should call isWatchable
Instead of ::canHaveTalkPage Likely a copy-paste error Change-Id: I46c0ebd6267f8631907c011bca525572313154c1
This commit is contained in:
parent
dd07220553
commit
3503537452
1 changed files with 2 additions and 2 deletions
|
|
@ -798,7 +798,7 @@ class TitleTest extends MediaWikiIntegrationTestCase {
|
|||
'User page is watchable' => [
|
||||
Title::makeTitle( NS_USER, 'Jane' ), true
|
||||
],
|
||||
'Talke page is watchable' => [
|
||||
'Talk page is watchable' => [
|
||||
Title::makeTitle( NS_TALK, 'Foo' ), true
|
||||
],
|
||||
'Special page is not watchable' => [
|
||||
|
|
@ -881,7 +881,7 @@ class TitleTest extends MediaWikiIntegrationTestCase {
|
|||
* @param bool $expected
|
||||
*/
|
||||
public function testIsWatchable( Title $title, $expected ) {
|
||||
$actual = $title->canHaveTalkPage();
|
||||
$actual = $title->isWatchable();
|
||||
$this->assertSame( $expected, $actual, $title->getPrefixedDBkey() );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue