diff options
author | lain <lain@soykaf.club> | 2018-02-11 20:43:33 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-11 20:43:33 +0100 |
commit | 8cf97ee8e15a36cbbf0964d5be53c88d29798163 (patch) | |
tree | 903babe6f37f2446160257623a76d5223b52f6c9 /test/user_test.exs | |
parent | ce31f3a922cab93d13c50a2fcec0f383631a13d0 (diff) | |
download | pleroma-8cf97ee8e15a36cbbf0964d5be53c88d29798163.tar.gz pleroma-8cf97ee8e15a36cbbf0964d5be53c88d29798163.zip |
ActivityPub: Basic note federation with Mastodon.
Diffstat (limited to 'test/user_test.exs')
-rw-r--r-- | test/user_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index 16d43e619..196363f1c 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -370,4 +370,8 @@ defmodule Pleroma.UserTest do refute Repo.get(Activity, activity.id) end + + test "get_public_key_for_ap_id fetches a user that's not in the db" do + assert {:ok, _key} = User.get_public_key_for_ap_id("http://mastodon.example.org/users/admin") + end end |