pleroma/test/support/ostatus_mock.ex

12 lines
290 B
Elixir
Raw Normal View History

2018-12-23 15:11:29 -05: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 04:23:21 -05:00
defmodule Pleroma.Web.OStatusMock do
import Pleroma.Factory
2018-03-30 09:01:53 -04:00
2018-02-12 04:23:21 -05:00
def handle_incoming(_doc) do
insert(:note_activity)
end
end