feat(gamification): expand badge tiers and count only outgoing likes
This commit is contained in:
@@ -30,7 +30,8 @@ def test_publish_coauthor_like_and_save_award_expected_contributions(user_factor
|
||||
assert summary_for_user(coauthor)["points_total"] == 22
|
||||
assert summary_for_user(actor)["points_total"] == 2
|
||||
assert summary_for_user(actor)["activity_counts"]["likes"] == 1
|
||||
assert summary_for_user(coauthor)["activity_counts"]["likes"] == 1
|
||||
assert summary_for_user(author)["activity_counts"]["likes"] == 0
|
||||
assert summary_for_user(coauthor)["activity_counts"]["likes"] == 0
|
||||
|
||||
post.writers.remove(coauthor)
|
||||
post.writers.remove(author)
|
||||
|
||||
Reference in New Issue
Block a user