Merge "Move around "ا" to after "آ" and not before"
[lhc/web/wiklou.git] / tests / phpunit / includes / changes / TestRecentChangesHelper.php
index ae51a6c..2c30948 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-use MediaWiki\Linker\LinkRenderer;
+
 use MediaWiki\MediaWikiServices;
 
 /**
@@ -12,7 +12,6 @@ class TestRecentChangesHelper {
        public function makeEditRecentChange( User $user, $titleText, $curid, $thisid, $lastid,
                $timestamp, $counter, $watchingUsers
        ) {
-
                $attribs = array_merge(
                        $this->getDefaultAttributes( $titleText, $timestamp ),
                        [
@@ -72,7 +71,6 @@ class TestRecentChangesHelper {
        public function makeNewBotEditRecentChange( User $user, $titleText, $curid, $thisid, $lastid,
                $timestamp, $counter, $watchingUsers
        ) {
-
                $attribs = array_merge(
                        $this->getDefaultAttributes( $titleText, $timestamp ),
                        [
@@ -111,7 +109,6 @@ class TestRecentChangesHelper {
        public function makeCategorizationRecentChange(
                User $user, $titleText, $curid, $thisid, $lastid, $timestamp
        ) {
-
                $attribs = array_merge(
                        $this->getDefaultAttributes( $titleText, $timestamp ),
                        [
@@ -122,6 +119,8 @@ class TestRecentChangesHelper {
                                'rc_last_oldid' => $lastid,
                                'rc_cur_id' => $curid,
                                'rc_comment' => '[[:Testpage]] added to category',
+                               'rc_comment_text' => '[[:Testpage]] added to category',
+                               'rc_comment_data' => null,
                                'rc_old_len' => 0,
                                'rc_new_len' => 0,
                        ]
@@ -142,6 +141,8 @@ class TestRecentChangesHelper {
                        'rc_old_len' => 212,
                        'rc_new_len' => 188,
                        'rc_comment' => '',
+                       'rc_comment_text' => '',
+                       'rc_comment_data' => null,
                        'rc_minor' => 0,
                        'rc_bot' => 0,
                        'rc_type' => 0,