projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'preloadfixups' into 'develop'
[akkoma]
/
test
/
web
/
preload
/
status_net_test.exs
diff --git
a/test/web/preload/status_net_test.exs
b/test/web/preload/status_net_test.exs
index ab6823a7efc2b81ac653b4cec042333f3959f77b..df7acdb115936334888874cf88fa1ecd508d005e 100644
(file)
--- a/
test/web/preload/status_net_test.exs
+++ b/
test/web/preload/status_net_test.exs
@@
-8,7
+8,8
@@
defmodule Pleroma.Web.Preload.Providers.StatusNetTest do
setup do: {:ok, StatusNet.generate_terms(nil)}
setup do: {:ok, StatusNet.generate_terms(nil)}
- test "it renders the info", %{"/api/statusnet/config.json": info} do
- assert info =~ "<name>Pleroma</name>"
+ test "it renders the info", %{"/api/statusnet/config.json" => info} do
+ assert {:ok, res} = Jason.decode(info)
+ assert res["site"]
end
end
end
end