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
Compare changes
  • Side-by-side
  • Inline
Files
14
  • [ABW]: 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
Loading