diff options
author | lain <lain@soykaf.club> | 2019-10-05 14:49:45 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-05 14:49:45 +0200 |
commit | 4b8524f392e659d568ba6b0648952d7a1e314be0 (patch) | |
tree | c0a6843b1e62c16270a1ab1302da48aa55803e60 /test | |
parent | e51c20f28a91028b06a5783601e4ce09536bba5b (diff) | |
download | pleroma-4b8524f392e659d568ba6b0648952d7a1e314be0.tar.gz |
ActivityPub / Transmogrifier: Correctly store incoming Update id.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/transmogrifier_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 6c208bdc0..475313316 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -546,6 +546,8 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do {:ok, %Activity{data: data, local: false}} = Transmogrifier.handle_incoming(update_data) + assert data["id"] == update_data["id"] + user = User.get_cached_by_ap_id(data["actor"]) assert user.name == "gargle" |