Skip to content

Commit 1dc44fd

Browse files
committed
client: use i18n hist link text in rc test
Bug: T244411 Change-Id: I0835b5b0c442fb73d9a99616ef1a2460e6ca9290
1 parent f8e09ca commit 1dc44fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/tests/phpunit/integration/includes/RecentChanges/ChangeLineFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public static function getEditSiteLinkPatterns() {
423423
public static function getEditSiteLinkChangeTagMatchers() {
424424
return [
425425
'edit-difflink' => both( withTagName( 'a' ) )->andAlso( havingTextContents( 'diff' ) ),
426-
'edit-histlink' => both( withTagName( 'a' ) )->andAlso( havingTextContents( 'hist' ) ),
426+
'edit-histlink' => both( withTagName( 'a' ) )->andAlso( havingTextContents( wfMessage( 'hist' )->text() ) ),
427427
'edit-changeslist-separator' => allOf(
428428
withTagName( 'span' ),
429429
withClass( 'mw-changeslist-separator' ),

0 commit comments

Comments
 (0)