aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-01-16 10:53:57 +0300
committerrinpatch <rinpatch@sdf.org>2019-01-16 10:53:57 +0300
commit8cea00e1dc2bf3c2e807b09fac886dfd7b4ea3e9 (patch)
treeeaeeaec6f1902392b18892e0ab812af84314c715
parentbfe2a11a6b64b868d18727359b83edc51ce5bb80 (diff)
downloadpleroma-8cea00e1dc2bf3c2e807b09fac886dfd7b4ea3e9.tar.gz
Remove OpenGraph test from Ostatus tests
-rw-r--r--test/web/ostatus/ostatus_controller_test.exs13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/web/ostatus/ostatus_controller_test.exs b/test/web/ostatus/ostatus_controller_test.exs
index 8e9d2b69a..5a94cb3b3 100644
--- a/test/web/ostatus/ostatus_controller_test.exs
+++ b/test/web/ostatus/ostatus_controller_test.exs
@@ -156,19 +156,6 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|> response(404)
end
- test "renders notice metatags in html format", %{conn: conn} do
- note_activity = insert(:note_activity)
- conn = get(conn, "/notice/#{note_activity.id}")
- body = html_response(conn, 200)
- twitter_card_summary = "<meta content=\"summary\" property=\"twitter:card\">"
-
- description_content =
- "<meta content=\"#{note_activity.data["object"]["content"]}\" property=\"og:description\">"
-
- assert body =~ twitter_card_summary
- assert body =~ description_content
- end
-
test "gets a notice in xml format", %{conn: conn} do
note_activity = insert(:note_activity)