aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-28 17:29:54 +0200
committerlain <lain@soykaf.club>2020-04-28 17:29:54 +0200
commitdedffd100c231aa69d7a7f7cd7126b90a84fc1ec (patch)
tree80771fd1e882e49e33ba793940d6cc9be49c7cc3 /test
parentabd09282292f7e902c77b158ae3d86e9bfd5b986 (diff)
downloadpleroma-dedffd100c231aa69d7a7f7cd7126b90a84fc1ec.tar.gz
Pipeline: Unify, refactor, DRY.
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/object_validator_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/object_validator_test.exs b/test/web/activity_pub/object_validator_test.exs
index baa4b2585..41f67964a 100644
--- a/test/web/activity_pub/object_validator_test.exs
+++ b/test/web/activity_pub/object_validator_test.exs
@@ -17,7 +17,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidatorTest do
{:ok, activity} = CommonAPI.post_chat_message(user, recipient, "hey")
object = Object.normalize(activity, false)
- {:ok, create_data, _} = Builder.create(user, object.data["id"], [recipient.ap_id])
+ {:ok, create_data, _} = Builder.create(user, object.data, [recipient.ap_id])
{:error, cng} = ObjectValidator.validate(create_data, [])