spc-pleroma/test/support/ostatus_mock.ex

12 lines
290 B
Elixir
Raw Normal View History

2018-12-23 20:11:29 +00:00
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
2018-02-12 09:23:21 +00:00
defmodule Pleroma.Web.OStatusMock do
import Pleroma.Factory
2018-03-30 13:01:53 +00:00
2018-02-12 09:23:21 +00:00
def handle_incoming(_doc) do
insert(:note_activity)
end
end