diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-15 11:59:01 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-15 11:59:01 +0300 |
commit | fd2e31af867379f15f1aed536cdfa779a50b812a (patch) | |
tree | c1f347618e11cf8c715d27b44367f45a4dcf3882 | |
parent | 5d73dca064df5349d2170d56da6727a52d0d44a8 (diff) | |
download | pleroma-fd2e31af867379f15f1aed536cdfa779a50b812a.tar.gz |
oops
-rw-r--r-- | test/activity_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/activity_test.exs b/test/activity_test.exs index d8063bf11..dc9c56a21 100644 --- a/test/activity_test.exs +++ b/test/activity_test.exs @@ -32,8 +32,8 @@ defmodule Pleroma.ActivityTest do test "reply count" do %{id: id, data: %{"object" => %{"id" => object_ap_id}}} = activity = insert(:note_activity) - repliesCount = activity.data["object"]["repliesCount"] || 0 - expected_increase = repliesCount + 1 + replies_count = activity.data["object"]["repliesCount"] || 0 + expected_increase = replies_count + 1 Activity.increase_replies_count(object_ap_id) %{data: %{"object" => %{"repliesCount" => actual_increase}}} = Activity.get_by_id(id) assert expected_increase == actual_increase |