[#878] Uncommented test statement.

This commit is contained in:
Ivan Tashkinov 2019-07-09 22:28:04 +03:00
parent 829e997223
commit 6fc0c27be3

View file

@ -666,7 +666,7 @@ test "adds a like activity to the db" do
assert like_activity.data["actor"] == user.ap_id assert like_activity.data["actor"] == user.ap_id
assert like_activity.data["type"] == "Like" assert like_activity.data["type"] == "Like"
# assert like_activity.data["object"] == object.data["id"] assert like_activity.data["object"] == object.data["id"]
assert like_activity.data["to"] == [User.ap_followers(user), note_activity.data["actor"]] assert like_activity.data["to"] == [User.ap_followers(user), note_activity.data["actor"]]
assert like_activity.data["context"] == object.data["context"] assert like_activity.data["context"] == object.data["context"]
assert object.data["like_count"] == 1 assert object.data["like_count"] == 1