Merge remote-tracking branch 'upstream/develop' into patch-image-description
[akkoma] / test / support / factory.ex
index 964b2b61c6b8354cfebf2c5ae5bb832dee819e37..0c21093cef5c3f7c4a8082d29a7f2d49623ffa66 100644 (file)
@@ -220,4 +220,11 @@ defmodule Pleroma.Factory do
       client_secret: "aaa;/&bbb"
     }
   end
+
+  def instance_factory do
+    %Pleroma.Instances.Instance{
+      host: "domain.com",
+      unreachable_since: nil
+    }
+  end
 end