Skip to content

Commit

Permalink
AdminStats: fix icon for suppress user group
Browse files Browse the repository at this point in the history
Bug: T347130
  • Loading branch information
MusikAnimal committed Jan 15, 2024
1 parent 7b7eb99 commit da216f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/user_group_icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ parameters:
global-renamer: https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Global_renamer-logo.svg/18px-Global_renamer-logo.svg.png
global-sysop: https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Meta-Wiki_Global_sysop-2000px.png/18px-Meta-Wiki_Global_sysop-2000px.png
interface-admin: https://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Pliers_with_yellow_handles_(rotated).svg/18px-Pliers_with_yellow_handles_(rotated).svg.png
suppress: https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_run.png/18px-Crystal_Clear_action_run.png
suppress: https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Gnome-system-lock-screen.svg/18px-Gnome-system-lock-screen.svg.png
steward: https://upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Wikimedia_steward_Icon.svg/18px-Wikimedia_steward_Icon.svg.png
sysop: https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Mop.svg/18px-Mop.svg.png
8 changes: 4 additions & 4 deletions tests/Model/ProjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ public function testUsersInGroups(): void
['user_name' => 'Bob', 'user_group' => 'sysop'],
['user_name' => 'Bob', 'user_group' => 'checkuser'],
['user_name' => 'Julie', 'user_group' => 'sysop'],
['user_name' => 'Herald', 'user_group' => 'oversight'],
['user_name' => 'Isosceles', 'user_group' => 'oversight'],
['user_name' => 'Herald', 'user_group' => 'suppress'],
['user_name' => 'Isosceles', 'user_group' => 'suppress'],
['user_name' => 'Isosceles', 'user_group' => 'sysop'],
]);
$project = new Project('testWiki');
Expand All @@ -229,8 +229,8 @@ public function testUsersInGroups(): void
[
'Bob' => ['sysop', 'checkuser'],
'Julie' => ['sysop'],
'Herald' => ['oversight'],
'Isosceles' => ['oversight', 'sysop'],
'Herald' => ['suppress'],
'Isosceles' => ['suppress', 'sysop'],
],
$project->getUsersInGroups(['sysop', 'checkuser'], [])
);
Expand Down

0 comments on commit da216f0

Please sign in to comment.