aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorMáté Szabó <mszabo@wikimedia.org>2025-04-04 11:47:44 +0200
committerMáté Szabó <mszabo@wikimedia.org>2025-04-04 15:46:44 +0200
commit394a18083405108b9ad2d48bd4cb5225333bd19a (patch)
tree49a3d89e60eb21ab55916536e744b1b451dd96f0 /Gruntfile.js
parent95485727e1d333be0995ff8b48b5f6e5593918b2 (diff)
downloadmediawikicore-394a18083405108b9ad2d48bd4cb5225333bd19a.tar.gz
mediawikicore-394a18083405108b9ad2d48bd4cb5225333bd19a.zip
storage: Assert CategoryMembershipChangeJob via trait
Why: - As suggested on I14944639e00407f59380c8787fd2810c7d24a5c9, ChangeTrackingUpdateSpyTrait is a better place to assert on operations performed by ChangeTrackingEventIngress than DerivedPageDataUpdaterTest. What: - Add an expected number of enqueued CategoryMembershipChangeJobs to ChangeTrackingUpdateSpyTrait. - Update tests using the trait to specify the expected number of jobs. - Clear hooks in relevant tests to avoid test failures when extensions are loaded that attempt to call methods on the mocks set by ChangeTrackingUpdateSpyTrait. These tests currently fail if e.g. PageTriage, Echo or EventBus are loaded. Bug: T390636 Change-Id: I6fe6cb87cd5a16b1ed39e0998c49713704633d71
Diffstat (limited to 'Gruntfile.js')
0 files changed, 0 insertions, 0 deletions