akkoma/test/support/ostatus_mock.ex

12 lines
290 B
Elixir
Raw Normal View History

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