OstatusTest: Remove insert_or_update test (moved to User).
This commit is contained in:
parent
ae26604378
commit
a15f572800
1 changed files with 0 additions and 7 deletions
|
@ -355,13 +355,6 @@ defmodule Pleroma.Web.OStatusTest do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test "insert or update a user from given data" do
|
|
||||||
user = insert(:user, %{nickname: "nick@name.de"})
|
|
||||||
data = %{ ap_id: user.ap_id <> "xxx", name: user.name, nickname: user.nickname }
|
|
||||||
|
|
||||||
assert {:ok, %User{}} = OStatus.insert_or_update_user(data)
|
|
||||||
end
|
|
||||||
|
|
||||||
test "it doesn't add nil in the do field" do
|
test "it doesn't add nil in the do field" do
|
||||||
incoming = File.read!("test/fixtures/nil_mention_entry.xml")
|
incoming = File.read!("test/fixtures/nil_mention_entry.xml")
|
||||||
{:ok, [activity]} = OStatus.handle_incoming(incoming)
|
{:ok, [activity]} = OStatus.handle_incoming(incoming)
|
||||||
|
|
Loading…
Reference in a new issue