projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'salmon-native-keys' into 'develop'
[akkoma]
/
test
/
web
/
ostatus
/
user_representer_test.exs
diff --git
a/test/web/ostatus/user_representer_test.exs
b/test/web/ostatus/user_representer_test.exs
index 80ac8181ad5ebffc16ef36857a328b71ad72fadc..a4afc2cf78efbb0badb543f2bb249167fac4c165 100644
(file)
--- a/
test/web/ostatus/user_representer_test.exs
+++ b/
test/web/ostatus/user_representer_test.exs
@@
-6,10
+6,10
@@
defmodule Pleroma.Web.OStatus.UserRepresenterTest do
alias Pleroma.User
test "returns a user with id, uri, name and link" do
alias Pleroma.User
test "returns a user with id, uri, name and link" do
- user = build(:user)
+ user = build(:user
, nickname: "レイン"
)
tuple = UserRepresenter.to_simple_form(user)
tuple = UserRepresenter.to_simple_form(user)
- res = :xmerl.export_simple_content(tuple, :xmerl_xml) |>
IO.iodata_to_binary
+ res = :xmerl.export_simple_content(tuple, :xmerl_xml) |>
to_string
expected = """
<id>#{user.ap_id}</id>
expected = """
<id>#{user.ap_id}</id>