From 8e02fa100f9f207253a35fbfd92e6e8f9b585435 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 18 May 2017 18:18:27 +0200 Subject: Add categories to ostatus output. --- test/support/factory.ex | 3 ++- test/web/ostatus/activity_representer_test.exs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/support/factory.ex b/test/support/factory.ex index ffc9c56dc..3cf35e3bc 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -25,7 +25,8 @@ defmodule Pleroma.Factory do "published_at" => DateTime.utc_now() |> DateTime.to_iso8601, "likes" => [], "like_count" => 0, - "context" => "2hu" + "context" => "2hu", + "tag" => ["2hu"] } %Pleroma.Object{ diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 969b2a854..7179cfb71 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -27,6 +27,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do #{note_activity.data["context"]} + """ -- cgit v1.2.3