summaryrefslogtreecommitdiff
path: root/test/web/ostatus/user_representer_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2018-12-03 00:34:04 +0300
committerrinpatch <rinpatch@sdf.org>2018-12-03 00:34:04 +0300
commit343b0adfa6c88f0934d788be0e59ea8a5fe483b1 (patch)
treea6debba90a247854543aad4069f1b2e3d9ebd1b1 /test/web/ostatus/user_representer_test.exs
parenta3953ca37ab4122772119ae345705e712e23dd17 (diff)
parent371d96b1da85960dafea9665b8bc32ba553b1555 (diff)
downloadpleroma-343b0adfa6c88f0934d788be0e59ea8a5fe483b1.tar.gz
pleroma-343b0adfa6c88f0934d788be0e59ea8a5fe483b1.zip
Merge branch 'develop' into fix/theora-detection-read-bytes
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