mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 18:17:55 +00:00
16 lines
383 B
Elixir
16 lines
383 B
Elixir
defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
|
use Pleroma.Web.ConnCase
|
|
import Pleroma.Factory
|
|
alias Pleroma.User
|
|
|
|
test "gets a feed", %{conn: conn} do
|
|
note_activity = insert(:note_activity)
|
|
user = User.get_cached_by_ap_id(note_activity.data["actor"])
|
|
|
|
conn = conn
|
|
|> get("/users/#{user.nickname}/feed.atom")
|
|
|
|
assert response(conn, 200)
|
|
end
|
|
end
|