summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-17 14:20:53 +0100
committerlain <lain@soykaf.club>2018-02-17 14:20:53 +0100
commit5682e48a253e40791b0b723f8cebf605c9cf7b63 (patch)
tree186a7178ecfb6085619faf7806627060bed23f40 /test
parent05ba6ca1b8a792dfaa8e636a964a09b766afb4d6 (diff)
downloadpleroma-5682e48a253e40791b0b723f8cebf605c9cf7b63.tar.gz
pleroma-5682e48a253e40791b0b723f8cebf605c9cf7b63.zip
ActivityPub: tags -> tag.
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/transmogrifier_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs
index 76dc6d4ad..124a5703b 100644
--- a/test/web/activity_pub/transmogrifier_test.exs
+++ b/test/web/activity_pub/transmogrifier_test.exs
@@ -45,10 +45,10 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
expected_tag = %{
"href" => other_user.ap_id,
"name" => "@#{other_user.nickname}",
- "type" => "mention"
+ "type" => "Mention"
}
- assert Enum.member?(object["tags"], expected_tag)
+ assert Enum.member?(object["tag"], expected_tag)
end
test "it adds the json-ld context" do