diff options
| author | rinpatch <rinpatch@sdf.org> | 2018-12-03 00:34:04 +0300 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2018-12-03 00:34:04 +0300 |
| commit | 343b0adfa6c88f0934d788be0e59ea8a5fe483b1 (patch) | |
| tree | a6debba90a247854543aad4069f1b2e3d9ebd1b1 /test/web/mastodon_api/account_view_test.exs | |
| parent | a3953ca37ab4122772119ae345705e712e23dd17 (diff) | |
| parent | 371d96b1da85960dafea9665b8bc32ba553b1555 (diff) | |
| download | pleroma-343b0adfa6c88f0934d788be0e59ea8a5fe483b1.tar.gz pleroma-343b0adfa6c88f0934d788be0e59ea8a5fe483b1.zip | |
Merge branch 'develop' into fix/theora-detection-read-bytes
Diffstat (limited to 'test/web/mastodon_api/account_view_test.exs')
| -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] }) |
