From 5682e48a253e40791b0b723f8cebf605c9cf7b63 Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 17 Feb 2018 14:20:53 +0100 Subject: ActivityPub: tags -> tag. --- test/web/activity_pub/transmogrifier_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/web/activity_pub/transmogrifier_test.exs') 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 -- cgit v1.2.3