summaryrefslogtreecommitdiff
path: root/test/web/web_finger
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-01 16:29:58 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-01 16:29:58 +0300
commit65db5e9f528a3f8d8b3c81953fd160a6744dfffd (patch)
tree9da5234f8a9dd411b59e839eeb38254822939e2f /test/web/web_finger
parent300d94c62829d0ec961f3ed6c0242dea102ab0ad (diff)
parentf8d4c02431aa634dc74074b93d1cb522e47056ce (diff)
downloadpleroma-65db5e9f528a3f8d8b3c81953fd160a6744dfffd.tar.gz
pleroma-65db5e9f528a3f8d8b3c81953fd160a6744dfffd.zip
Resolve merge conflicts
Diffstat (limited to 'test/web/web_finger')
-rw-r--r--test/web/web_finger/web_finger_test.exs15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/web/web_finger/web_finger_test.exs b/test/web/web_finger/web_finger_test.exs
index 6b20d8d56..335c95b18 100644
--- a/test/web/web_finger/web_finger_test.exs
+++ b/test/web/web_finger/web_finger_test.exs
@@ -105,19 +105,4 @@ defmodule Pleroma.Web.WebFingerTest do
assert template == "http://status.alpicola.com/main/xrd?uri={uri}"
end
end
-
- describe "ensure_keys_present" do
- test "it creates keys for a user and stores them in info" do
- user = insert(:user)
- refute is_binary(user.info.keys)
- {:ok, user} = WebFinger.ensure_keys_present(user)
- assert is_binary(user.info.keys)
- end
-
- test "it doesn't create keys if there already are some" do
- user = insert(:user, %{info: %{keys: "xxx"}})
- {:ok, user} = WebFinger.ensure_keys_present(user)
- assert user.info.keys == "xxx"
- end
- end
end