diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-22 15:11:13 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-22 15:11:13 +0200 |
commit | 04fb4f9c47b273256d628eefa5bd8af77cca31fb (patch) | |
tree | 73b5915182c035febea0f16e626a1815e767b37c /test/web/ostatus/user_representer_test.exs | |
parent | 923584d0467b2213bef0d3d78c8713f34b7b21d7 (diff) | |
download | pleroma-04fb4f9c47b273256d628eefa5bd8af77cca31fb.tar.gz pleroma-04fb4f9c47b273256d628eefa5bd8af77cca31fb.zip |
Add poco data to user.
Diffstat (limited to 'test/web/ostatus/user_representer_test.exs')
-rw-r--r-- | test/web/ostatus/user_representer_test.exs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/web/ostatus/user_representer_test.exs b/test/web/ostatus/user_representer_test.exs index a401a56da..80ac8181a 100644 --- a/test/web/ostatus/user_representer_test.exs +++ b/test/web/ostatus/user_representer_test.exs @@ -15,6 +15,9 @@ defmodule Pleroma.Web.OStatus.UserRepresenterTest do <id>#{user.ap_id}</id> <activity:object>http://activitystrea.ms/schema/1.0/person</activity:object> <uri>#{user.ap_id}</uri> + <poco:preferredUsername>#{user.nickname}</poco:preferredUsername> + <poco:displayName>#{user.name}</poco:displayName> + <poco:note>#{user.bio}</poco:note> <name>#{user.nickname}</name> <link rel="avatar" href="#{User.avatar_url(user)}" /> """ |