diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-20 18:54:48 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-20 18:54:48 +0000 |
commit | c196754b4ddf53a68f42ac26a98c42eeba78a12b (patch) | |
tree | e08f49fd2a2eaa1dbc1f55e302d99d9df30bcdd6 /test | |
parent | ece86567335ece6325ebde05995b53735319fbe0 (diff) | |
download | pleroma-c196754b4ddf53a68f42ac26a98c42eeba78a12b.tar.gz pleroma-c196754b4ddf53a68f42ac26a98c42eeba78a12b.zip |
mastodon api: account view: fix tests
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/account_view_test.exs | 4 |
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] }) |