summaryrefslogtreecommitdiff
path: root/test/web/ostatus/user_representer_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2018-12-06 20:15:16 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2018-12-06 20:15:16 +0700
commit4944498133d4a945650201226808b1f09d355014 (patch)
tree02e83bac731ca6b391b63d826d8230bdb0fdaed8 /test/web/ostatus/user_representer_test.exs
parentbac58b152495c3ebf72e3ad1c3102de075fcc366 (diff)
parentccf0b46dd6a0390a06847b4a1c3eedc8d8e6c916 (diff)
downloadpleroma-4944498133d4a945650201226808b1f09d355014.tar.gz
pleroma-4944498133d4a945650201226808b1f09d355014.zip
Merge branch 'develop' into feature/compat/push-subscriptions
# Conflicts: # lib/pleroma/application.ex # lib/pleroma/plugs/oauth_plug.ex
Diffstat (limited to 'test/web/ostatus/user_representer_test.exs')
-rw-r--r--test/web/ostatus/user_representer_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/user_representer_test.exs b/test/web/ostatus/user_representer_test.exs
index e41dfeb3d..82fb8e793 100644
--- a/test/web/ostatus/user_representer_test.exs
+++ b/test/web/ostatus/user_representer_test.exs
@@ -6,7 +6,7 @@ defmodule Pleroma.Web.OStatus.UserRepresenterTest do
alias Pleroma.User
test "returns a user with id, uri, name and link" do
- user = build(:user, nickname: "レイン")
+ user = insert(:user, %{nickname: "レイン"})
tuple = UserRepresenter.to_simple_form(user)
res = :xmerl.export_simple_content(tuple, :xmerl_xml) |> to_string