aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-11-20 20:16:16 +0100
committerlain <lain@soykaf.club>2018-11-20 20:16:16 +0100
commit0bea0308f10857c057d80d94bd7a85062659acd5 (patch)
tree5c15091f7dbcad87f21001db2da2adf776ad9928 /test
parentd3180e0ccc6608c0b3cc8fe552ef52cf2a49d26c (diff)
parent5b3480d896ac71e264ffd4ae27fcba9897a81f00 (diff)
downloadpleroma-0bea0308f10857c057d80d94bd7a85062659acd5.tar.gz
Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/account_view_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs
index dc52b92bc..a2d3a2547 100644
--- a/test/web/mastodon_api/account_view_test.exs
+++ b/test/web/mastodon_api/account_view_test.exs
@@ -17,7 +17,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
user =
insert(:user, %{
- info: %{"note_count" => 5, "follower_count" => 3, "source_data" => source_data},
+ info: %{note_count: 5, follower_count: 3, source_data: source_data},
nickname: "shp@shitposter.club",
name: ":karjalanpiirakka: shp",
bio: "<script src=\"invalid-html\"></script><span>valid html</span>",
@@ -63,7 +63,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
test "Represent a Service(bot) account" do
user =
insert(:user, %{
- info: %{"note_count" => 5, "follower_count" => 3, "source_data" => %{"type" => "Service"}},
+ info: %{note_count: 5, follower_count: 3, source_data: %{"type" => "Service"}},
nickname: "shp@shitposter.club",
inserted_at: ~N[2017-08-15 15:47:06.597036]
})