mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "tests: Fix some typos"
This commit is contained in:
commit
eaedf91fc0
|
@ -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 );
|
||||
|
|
|
@ -99,7 +99,7 @@ abstract class CommentTestCase extends MediaWikiTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Create a comment pareser
|
||||
* Create a comment parser
|
||||
*
|
||||
* @param DOMElement $rootNode
|
||||
* @param array $data
|
||||
|
|
Loading…
Reference in a new issue