diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-04 14:01:39 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-04 14:04:06 +0300 |
commit | a9e4a975866c33553c477667c431187590329447 (patch) | |
tree | 7e4c50f7c37d0343ebcb94860124f4fc908d0bb1 /test/user_test.exs | |
parent | 7ec64ac33f52d2f5072b56f2f8eb5e9ce498e00f (diff) | |
download | pleroma-a9e4a975866c33553c477667c431187590329447.tar.gz pleroma-a9e4a975866c33553c477667c431187590329447.zip |
update test
Diffstat (limited to 'test/user_test.exs')
-rw-r--r-- | test/user_test.exs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index 62104df90..d097eb171 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -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() |