X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fchanges%2FRecentChangeTest.php;h=0dba1830ad996b596cbe5fec0e9ae6b595779870;hb=53a43bb6516ceeecf7b6712169e6b2f8c4ce0fb9;hp=b3cb7b529ebd7b56b1ce5a9ae788687807720594;hpb=65294205a1cda97c5c20f1c1e0495252b54fcdcd;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/changes/RecentChangeTest.php b/tests/phpunit/includes/changes/RecentChangeTest.php index b3cb7b529e..0dba1830ad 100644 --- a/tests/phpunit/includes/changes/RecentChangeTest.php +++ b/tests/phpunit/includes/changes/RecentChangeTest.php @@ -46,6 +46,7 @@ class RecentChangeTest extends MediaWikiTestCase { * - protect/protect * - protect/modifyprotect * - protect/unprotect + * - protect/move_prot * - upload/upload * - merge/merge * - import/upload @@ -223,6 +224,15 @@ class RecentChangeTest extends MediaWikiTestCase { $protectParams, $this->user_comment ); + + # protect/move_prot + $this->assertIRCComment( + $this->context->msg( 'movedarticleprotection', 'SomeTitle', 'OldTitle' ) + ->plain() . $sep . $this->user_comment, + 'protect', 'move_prot', + array( 'OldTitle' ), + $this->user_comment + ); } /**