tests: fix up activity collision test

This commit is contained in:
William Pitcock 2019-03-23 03:16:50 +00:00
parent 4aa699271c
commit 4a3dd86a55

View file

@ -140,7 +140,7 @@ test "returns the activity if one with the same id is already in" do
activity = insert(:note_activity)
{:ok, new_activity} = ActivityPub.insert(activity.data)
assert activity == new_activity
assert activity.id == new_activity.id
end
test "inserts a given map into the activity database, giving it an id if it has none." do