Skip to content
Snippets Groups Projects
Commit 8cea00e1 authored by rinpatch's avatar rinpatch
Browse files

Remove OpenGraph test from Ostatus tests

parent bfe2a11a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment