diff options
author | lain <lain@soykaf.club> | 2019-10-17 19:35:31 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-17 19:35:31 +0200 |
commit | 203d61b95012fd2cb8a8618f6f51a3748c940cc1 (patch) | |
tree | 6ebd3d56a5766d4d8aacf8393ef5b8c33b07faf4 /test/web/activity_pub/object_validator_test.exs | |
parent | 66452f518faa1f079f02006943b0c2cdc830b47f (diff) | |
download | pleroma-203d61b95012fd2cb8a8618f6f51a3748c940cc1.tar.gz pleroma-203d61b95012fd2cb8a8618f6f51a3748c940cc1.zip |
Transmogrifier: Make proper use of the LikeValidator.
Diffstat (limited to 'test/web/activity_pub/object_validator_test.exs')
-rw-r--r-- | test/web/activity_pub/object_validator_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/activity_pub/object_validator_test.exs b/test/web/activity_pub/object_validator_test.exs index 374a7c0df..2292db6d7 100644 --- a/test/web/activity_pub/object_validator_test.exs +++ b/test/web/activity_pub/object_validator_test.exs @@ -13,6 +13,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidatorTest do {:ok, post_activity} = CommonAPI.post(user, %{"status" => "uguu"}) valid_like = %{ + "to" => [user.ap_id], + "cc" => [], "type" => "Like", "id" => Utils.generate_activity_id(), "object" => post_activity.data["object"], |