diff --git a/test/web/rich_media/parser_test.exs b/test/web/rich_media/parser_test.exs
index 93a58c528..47b127cf9 100644
--- a/test/web/rich_media/parser_test.exs
+++ b/test/web/rich_media/parser_test.exs
@@ -88,4 +88,8 @@ test "parses OEmbed" do
                 width: "1024"
               }}
   end
+
+  test "rejects invalid OGP data" do
+    assert {:error, _} = Pleroma.Web.RichMedia.Parser.parse("http://example.com/malformed")
+  end
 end