forked from AkkomaGang/akkoma
tests: fix up activity collision test
This commit is contained in:
parent
4aa699271c
commit
4a3dd86a55
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ test "returns the activity if one with the same id is already in" do
|
||||||
activity = insert(:note_activity)
|
activity = insert(:note_activity)
|
||||||
{:ok, new_activity} = ActivityPub.insert(activity.data)
|
{:ok, new_activity} = ActivityPub.insert(activity.data)
|
||||||
|
|
||||||
assert activity == new_activity
|
assert activity.id == new_activity.id
|
||||||
end
|
end
|
||||||
|
|
||||||
test "inserts a given map into the activity database, giving it an id if it has none." do
|
test "inserts a given map into the activity database, giving it an id if it has none." do
|
||||||
|
|
Loading…
Reference in a new issue