diff options
author | Owen <owen@miraheze.org> | 2023-01-08 18:55:56 +0000 |
---|---|---|
committer | jsn <jsherman@wikimedia.org> | 2024-12-19 11:34:32 -0600 |
commit | be75e70d6bc2569a7a95766a7cd3590334b89f5a (patch) | |
tree | fbc1708fe629e835f67be4af6d9d2dae74f8b011 /tests/phpunit/integration/includes | |
parent | 5924bbdce0b951a1df8e76f102bef134fcde88ae (diff) | |
download | mediawikicore-be75e70d6bc2569a7a95766a7cd3590334b89f5a.tar.gz mediawikicore-be75e70d6bc2569a7a95766a7cd3590334b89f5a.zip |
Mark rollbacked edits as manually patrolled instead of automatically patrolled.
This keeps consistency as the original edit was never automatically patrolled - and the rollback action was a manual patrol of the original edit.
Bug: T302140
Change-Id: I3c28be8e606c7a427cecdfd31f115fa1c32641a5
Diffstat (limited to 'tests/phpunit/integration/includes')
-rw-r--r-- | tests/phpunit/integration/includes/page/RollbackPageTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/integration/includes/page/RollbackPageTest.php b/tests/phpunit/integration/includes/page/RollbackPageTest.php index 8876e7712124..5d19fc2260a8 100644 --- a/tests/phpunit/integration/includes/page/RollbackPageTest.php +++ b/tests/phpunit/integration/includes/page/RollbackPageTest.php @@ -179,7 +179,7 @@ class RollbackPageTest extends MediaWikiIntegrationTestCase { 'rc_patrolled' ); $this->assertEquals( - RecentChange::PRC_AUTOPATROLLED, + RecentChange::PRC_PATROLLED, $rc3->getAttribute( 'rc_patrolled' ) ); @@ -369,7 +369,7 @@ class RollbackPageTest extends MediaWikiIntegrationTestCase { $rc3 = $revisionStore->getRecentChange( $rev3 ); $this->assertEquals( - RecentChange::PRC_AUTOPATROLLED, + RecentChange::PRC_PATROLLED, $rc3->getAttribute( 'rc_patrolled' ) ); $this->assertSame( $markAsBot, (bool)$rc3->getAttribute( 'rc_bot' ) ); |