Merge "tests: Fix some typos"

This commit is contained in:
jenkins-bot 2020-10-14 22:49:38 +00:00 committed by Gerrit Code Review
commit eaedf91fc0
2 changed files with 3 additions and 3 deletions

View file

@ -133,7 +133,7 @@ class CommentParserTest extends CommentTestCase {
string $format, array $data, string $expected, string $message
) : void {
$parser = TestingAccessWrapper::newFromObject(
CommentParser::newFromGlobalState( new DOMELement( 'div' ) )
CommentParser::newFromGlobalState( new DOMElement( 'div' ) )
);
$expected = new DateTimeImmutable( $expected );
@ -155,7 +155,7 @@ class CommentParserTest extends CommentTestCase {
string $timezone, array $timezoneAbbrs, string $message
) : void {
$parser = TestingAccessWrapper::newFromObject(
CommentParser::newFromGlobalState( new DOMELement( 'div' ) )
CommentParser::newFromGlobalState( new DOMElement( 'div' ) )
);
$regexp = $parser->getTimestampRegexp( 'en', $format, '\\d', $timezoneAbbrs );

View file

@ -99,7 +99,7 @@ abstract class CommentTestCase extends MediaWikiTestCase {
}
/**
* Create a comment pareser
* Create a comment parser
*
* @param DOMElement $rootNode
* @param array $data