Fix typo in tests/phpunit/includes/Revision/MainSlotRoleHandlerTest.php
authorzoranzoki21 <zorandori4444@gmail.com>
Sat, 26 Jan 2019 19:41:31 +0000 (20:41 +0100)
committerD3r1ck01 <alangiderick@gmail.com>
Mon, 28 Jan 2019 10:19:50 +0000 (10:19 +0000)
Bug: T201491
Depends-On: I47530e01d8061d6826deaf0b9111d77a0b269d0a
Change-Id: Iaf1abd06cd35444cf4c6c4edef65f973089579c1

tests/phpunit/includes/Revision/MainSlotRoleHandlerTest.php

index f2f3da8..5e32574 100644 (file)
@@ -47,7 +47,7 @@ class MainSlotRoleHandlerTest extends MediaWikiTestCase {
        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 ) );