|
|
@ -110,8 +110,14 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
|
|
|
|
|
|
|
|
|
|
|
|
user = Repo.get(User, user.id)
|
|
|
|
user = Repo.get(User, user.id)
|
|
|
|
|
|
|
|
|
|
|
|
assert %{"remote" => false, "local" => true, "followers" => false, "follows" => true} ==
|
|
|
|
assert %{
|
|
|
|
user.info.notification_settings
|
|
|
|
"remote" => false,
|
|
|
|
|
|
|
|
"local" => true,
|
|
|
|
|
|
|
|
"followers" => false,
|
|
|
|
|
|
|
|
"follows" => true,
|
|
|
|
|
|
|
|
"non_follows" => true,
|
|
|
|
|
|
|
|
"non_followers" => true
|
|
|
|
|
|
|
|
} == user.info.notification_settings
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|