Commit 6ac5d485 authored by lain's avatar lain
Browse files

More fixes

parent e0028580
Pipeline #4749 failed with stages
in 7 minutes and 5 seconds
......@@ -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
......
......@@ -58,7 +58,7 @@ test "a like activity" do
end
test "an activity" do
{:ok, user} = UserBuilder.insert()
user = insert(:user)
# {:ok, mentioned_user } = UserBuilder.insert(%{nickname: "shp", ap_id: "shp"})
mentioned_user = insert(:user, %{nickname: "shp"})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment