X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FRevisionMcrWriteBothDbTest.php;h=bb62b2fda68b5e6fc8b505ee82b13f8185265f47;hb=9fc202b69496353a1142a692be5aaf158e9ea30c;hp=436b37995d7d077d3c8cfcf060949b213d078814;hpb=b5d0251882e79790cc5635d8d20eb8cd79976678;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/RevisionMcrWriteBothDbTest.php b/tests/phpunit/includes/RevisionMcrWriteBothDbTest.php index 436b37995d..bb62b2fda6 100644 --- a/tests/phpunit/includes/RevisionMcrWriteBothDbTest.php +++ b/tests/phpunit/includes/RevisionMcrWriteBothDbTest.php @@ -1,5 +1,5 @@ 7, + 'rev_page' => 1, // should match actual page id + 'rev_text_id' => 789, + 'rev_timestamp' => '20180101000000', + 'rev_len' => 7, + 'rev_minor_edit' => 0, + 'rev_deleted' => 0, + 'rev_parent_id' => 0, + 'rev_sha1' => 'deadbeef', + 'rev_comment' => 'some comment', + 'rev_comment_text' => 'some comment', + 'rev_comment_data' => '{}', + 'rev_user' => 17, + 'rev_user_text' => 'some user', + ]; + + yield [ $row, 789 ]; + } + }