OstatusTest: Remove insert_or_update test (moved to User).

This commit is contained in:
lain 2018-02-15 19:59:40 +01:00
parent ae26604378
commit a15f572800
1 changed files with 0 additions and 7 deletions

View File

@ -355,13 +355,6 @@ test "it works for atom notes, too" 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)