Skip to content
Snippets Groups Projects

Small fixes and mock data for observer tests in get_ranked_posts

Merged Andrzej Lisak requested to merge abw_get_ranked_posts_mutes into develop

find_tag_id/find_category_id moved to utility_functions.sql and changed so they follow example of find_comment_id with their error handling

added extra promotion and new ignored accounts in mock data for observer tests

observer in get_ranked_posts is now validated (it was actually validated already, but only after main query, now it happens as early as possible)

fixed problem with default value of limit in get_ranked_posts (when explicit null was passed); also all string params now are empty instead of None

Merge request reports

Checking pipeline status.

Merged by Bartek WronaBartek Wrona 4 years ago (Dec 1, 2020 3:34pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading