projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document instance reboots
[akkoma]
/
test
/
pleroma
/
web
/
web_finger_test.exs
diff --git
a/test/pleroma/web/web_finger_test.exs
b/test/pleroma/web/web_finger_test.exs
index 0a36d57e6af96d781b1a7d5e3f8391c07d2f0eb8..d10238b1a5dda0c7ff9aaed6e359b48a6698e992 100644
(file)
--- a/
test/pleroma/web/web_finger_test.exs
+++ b/
test/pleroma/web/web_finger_test.exs
@@
-47,7
+47,7
@@
defmodule Pleroma.Web.WebFingerTest do
test "returns error when there is no content-type header" do
Tesla.Mock.mock(fn
test "returns error when there is no content-type header" do
Tesla.Mock.mock(fn
- %{url: "http://social.heldscal.la/.well-known/host-meta"} ->
+ %{url: "http
s
://social.heldscal.la/.well-known/host-meta"} ->
{:ok,
%Tesla.Env{
status: 200,
{:ok,
%Tesla.Env{
status: 200,
@@
-120,7
+120,7
@@
defmodule Pleroma.Web.WebFingerTest do
test "it gets the xrd endpoint for statusnet" do
{:ok, template} = WebFinger.find_lrdd_template("status.alpicola.com")
test "it gets the xrd endpoint for statusnet" do
{:ok, template} = WebFinger.find_lrdd_template("status.alpicola.com")
- assert template == "http://status.alpicola.com/main/xrd?uri={uri}"
+ assert template == "http
s
://status.alpicola.com/main/xrd?uri={uri}"
end
test "it works with idna domains as nickname" do
end
test "it works with idna domains as nickname" do
@@
-147,7
+147,7
@@
defmodule Pleroma.Web.WebFingerTest do
headers: [{"content-type", "application/jrd+json"}]
}}
headers: [{"content-type", "application/jrd+json"}]
}}
- %{url: "http://mastodon.social/.well-known/host-meta"} ->
+ %{url: "http
s
://mastodon.social/.well-known/host-meta"} ->
{:ok,
%Tesla.Env{
status: 200,
{:ok,
%Tesla.Env{
status: 200,
@@
-170,7
+170,7
@@
defmodule Pleroma.Web.WebFingerTest do
headers: [{"content-type", "application/xrd+xml"}]
}}
headers: [{"content-type", "application/xrd+xml"}]
}}
- %{url: "http://pawoo.net/.well-known/host-meta"} ->
+ %{url: "http
s
://pawoo.net/.well-known/host-meta"} ->
{:ok,
%Tesla.Env{
status: 200,
{:ok,
%Tesla.Env{
status: 200,