update test

This commit is contained in:
Maksim Pechnikov 2018-12-04 14:01:39 +03:00
commit a9e4a97586
7 changed files with 83 additions and 11 deletions

View file

@ -9,6 +9,11 @@ defmodule Pleroma.UserTest do
import Pleroma.Factory
import Ecto.Query
setup_all do
Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end
test "ap_id returns the activity pub id for the user" do
user = UserBuilder.build()