projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split hide_network into hide_followers & hide_followings
[akkoma]
/
test
/
web
/
mastodon_api
/
account_view_test.exs
diff --git
a/test/web/mastodon_api/account_view_test.exs
b/test/web/mastodon_api/account_view_test.exs
index 3cb9b9c5be74d0286639cc5ddd4eb6045155a925..f8cd68173b2d6ad0384d346b676ae96a896b2c9c 100644
(file)
--- a/
test/web/mastodon_api/account_view_test.exs
+++ b/
test/web/mastodon_api/account_view_test.exs
@@
-1,3
+1,7
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
use Pleroma.DataCase
import Pleroma.Factory
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
use Pleroma.DataCase
import Pleroma.Factory
@@
-55,7
+59,12
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
privacy: "public",
sensitive: false
},
privacy: "public",
sensitive: false
},
- pleroma: %{tags: []}
+ pleroma: %{
+ confirmation_pending: false,
+ tags: [],
+ is_admin: false,
+ is_moderator: false
+ }
}
assert expected == AccountView.render("account.json", %{user: user})
}
assert expected == AccountView.render("account.json", %{user: user})
@@
-93,7
+102,12
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
privacy: "public",
sensitive: false
},
privacy: "public",
sensitive: false
},
- pleroma: %{tags: []}
+ pleroma: %{
+ confirmation_pending: false,
+ tags: [],
+ is_admin: false,
+ is_moderator: false
+ }
}
assert expected == AccountView.render("account.json", %{user: user})
}
assert expected == AccountView.render("account.json", %{user: user})