Add missing support file.
authorlain <lain@soykaf.club>
Mon, 12 Feb 2018 09:23:21 +0000 (10:23 +0100)
committerlain <lain@soykaf.club>
Mon, 12 Feb 2018 09:23:21 +0000 (10:23 +0100)
test/support/ostatus_mock.ex [new file with mode: 0644]

diff --git a/test/support/ostatus_mock.ex b/test/support/ostatus_mock.ex
new file mode 100644 (file)
index 0000000..c26e919
--- /dev/null
@@ -0,0 +1,6 @@
+defmodule Pleroma.Web.OStatusMock do
+  import Pleroma.Factory
+  def handle_incoming(_doc) do
+    insert(:note_activity)
+  end
+end