Skip to content

Commit

Permalink
Update category for discretionary sanctions articles
Browse files Browse the repository at this point in the history
  • Loading branch information
ragesoss committed Apr 9, 2024
1 parent 6f40ec1 commit fa33bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/alerts/discretionary_sanctions_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_alerts_from_page_titles

private

DS_CATEGORY = 'Category:Wikipedia pages under discretionary sanctions'
DS_CATEGORY = 'Category:Wikipedia pages about contentious topics'
DS_CATEGORY_DEPTH = 1
def find_pages_tagged_for_discretionary_sanctions
@ds_talk_titles = CategoryImporter.new(@wiki)
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/alerts/discretionary_sanctions_monitor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def mock_mailer

before do
allow_any_instance_of(CategoryImporter).to receive(:page_titles_for_category)
.with('Category:Wikipedia pages under discretionary sanctions', 1)
.with('Category:Wikipedia pages about contentious topics', 1)
.and_return(['Talk:1948 war',
'Talk:Ahmed Mohamed clock incident',
'Talk:Armenian Genocide denial'])
Expand Down

0 comments on commit fa33bb7

Please sign in to comment.