Merge branch 'feature/update-welcome-setting-in-description' into 'develop'
[akkoma] / test / object / fetcher_test.exs
index d9098ea1b3069793fcdb1847b0496fc34fb1374b..16cfa7f5cb70e76b91ce605cf5cf0cd1897ade79 100644 (file)
@@ -177,6 +177,13 @@ defmodule Pleroma.Object.FetcherTest do
                  "https://mastodon.example.org/users/userisgone404"
                )
     end
+
+    test "it can fetch pleroma polls with attachments" do
+      {:ok, object} =
+        Fetcher.fetch_object_from_id("https://patch.cx/objects/tesla_mock/poll_attachment")
+
+      assert object
+    end
   end
 
   describe "pruning" do