aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuna <git@l4.pm>2019-02-01 03:55:10 -0300
committerLuna <git@l4.pm>2019-02-01 03:55:10 -0300
commitc05928dbdabfafc536512341e8d64b240b097f62 (patch)
tree84da2cd9204d9c0717dcfd4dc854a9b480f2a050 /test
parent0340fcaecadae858b9c8fe39cc18bc25aef3e495 (diff)
downloadpleroma-c05928dbdabfafc536512341e8d64b240b097f62.tar.gz
use nodeinfo 2.1, add repository field
that is the only change from nodeinfo 2.0 to 2.1 also this makes the nodeinfo tests use 2.1.json instead of 2.0.json
Diffstat (limited to 'test')
-rw-r--r--test/web/node_info_test.exs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/web/node_info_test.exs b/test/web/node_info_test.exs
index 5981c70a7..360ee0baf 100644
--- a/test/web/node_info_test.exs
+++ b/test/web/node_info_test.exs
@@ -12,7 +12,7 @@ defmodule Pleroma.Web.NodeInfoTest do
conn =
conn
- |> get("/nodeinfo/2.0.json")
+ |> get("/nodeinfo/2.1.json")
assert result = json_response(conn, 200)
@@ -22,7 +22,7 @@ defmodule Pleroma.Web.NodeInfoTest do
test "nodeinfo shows restricted nicknames", %{conn: conn} do
conn =
conn
- |> get("/nodeinfo/2.0.json")
+ |> get("/nodeinfo/2.1.json")
assert result = json_response(conn, 200)
@@ -42,7 +42,7 @@ defmodule Pleroma.Web.NodeInfoTest do
|> json_response(404)
conn
- |> get("/nodeinfo/2.0.json")
+ |> get("/nodeinfo/2.1.json")
|> json_response(404)
instance =
@@ -58,7 +58,7 @@ defmodule Pleroma.Web.NodeInfoTest do
|> json_response(200)
conn
- |> get("/nodeinfo/2.0.json")
+ |> get("/nodeinfo/2.1.json")
|> json_response(200)
end
end