projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OStatus controller: don't serve json at /notice/, redirect instead
[akkoma]
/
test
/
web
/
masto_fe_controller_test.exs
diff --git
a/test/web/masto_fe_controller_test.exs
b/test/web/masto_fe_controller_test.exs
index 04f1440490dce8bfe86d2bce0b7167ff73c005e8..b5dbd4a25d3e201931644922eb42772227b20d55 100644
(file)
--- a/
test/web/masto_fe_controller_test.exs
+++ b/
test/web/masto_fe_controller_test.exs
@@
-5,8
+5,9
@@
defmodule Pleroma.Web.MastodonAPI.MastoFEController do
use Pleroma.Web.ConnCase
defmodule Pleroma.Web.MastodonAPI.MastoFEController do
use Pleroma.Web.ConnCase
- alias Pleroma.User
alias Pleroma.Config
alias Pleroma.Config
+ alias Pleroma.User
+
import Pleroma.Factory
clear_config([:instance, :public])
import Pleroma.Factory
clear_config([:instance, :public])
@@
-22,7
+23,7
@@
defmodule Pleroma.Web.MastodonAPI.MastoFEController do
assert _result = json_response(conn, 200)
user = User.get_cached_by_ap_id(user.ap_id)
assert _result = json_response(conn, 200)
user = User.get_cached_by_ap_id(user.ap_id)
- assert user.
info.
settings == %{"programming" => "socks"}
+ assert user.settings == %{"programming" => "socks"}
end
describe "index/2 redirections" do
end
describe "index/2 redirections" do