Bug: T201491
Depends-On: I47530e01d8061d6826deaf0b9111d77a0b269d0a
Change-Id: Iaf1abd06cd35444cf4c6c4edef65f973089579c1
public function testFetDefaultModel() {
$handler = new MainSlotRoleHandler( [ 100 => CONTENT_MODEL_TEXT ] );
public function testFetDefaultModel() {
$handler = new MainSlotRoleHandler( [ 100 => CONTENT_MODEL_TEXT ] );
- // For the main handler, the namespace determins the defualt model
+ // For the main handler, the namespace determins the default model
$titleMain = $this->makeTitleObject( NS_MAIN );
$this->assertSame( CONTENT_MODEL_WIKITEXT, $handler->getDefaultModel( $titleMain ) );
$titleMain = $this->makeTitleObject( NS_MAIN );
$this->assertSame( CONTENT_MODEL_WIKITEXT, $handler->getDefaultModel( $titleMain ) );