mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 21:53:59 +01:00
12 lines
263 B
Elixir
12 lines
263 B
Elixir
![]() |
defmodule Pleroma.ObjectTest do
|
||
|
use Pleroma.DataCase
|
||
|
import Pleroma.Factory
|
||
|
|
||
|
test "returns an object by it's AP id" do
|
||
|
object = insert(:note)
|
||
|
found_object = Pleroma.Object.get_by_ap_id(object.data["id"])
|
||
|
|
||
|
assert object == found_object
|
||
|
end
|
||
|
end
|