From a15f57280034436d712d081f2f232b787c234d57 Mon Sep 17 00:00:00 2001 From: lain Date: Thu, 15 Feb 2018 19:59:40 +0100 Subject: [PATCH] OstatusTest: Remove insert_or_update test (moved to User). --- test/web/ostatus/ostatus_test.exs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs index 1f10ea4d2..1dd381ac4 100644 --- a/test/web/ostatus/ostatus_test.exs +++ b/test/web/ostatus/ostatus_test.exs @@ -355,13 +355,6 @@ test "it works for atom notes, too" do 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 incoming = File.read!("test/fixtures/nil_mention_entry.xml") {:ok, [activity]} = OStatus.handle_incoming(incoming)