projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae26604
)
OstatusTest: Remove insert_or_update test (moved to User).
author
lain
<lain@soykaf.club>
Thu, 15 Feb 2018 18:59:40 +0000
(19:59 +0100)
committer
lain
<lain@soykaf.club>
Thu, 15 Feb 2018 18:59:40 +0000
(19:59 +0100)
test/web/ostatus/ostatus_test.exs
patch
|
blob
|
history
diff --git
a/test/web/ostatus/ostatus_test.exs
b/test/web/ostatus/ostatus_test.exs
index 1f10ea4d26105056f3310f207d3acf31cda48692..1dd381ac4f971a56ff6da6f1f1fef0cd9990e148 100644
(file)
--- a/
test/web/ostatus/ostatus_test.exs
+++ b/
test/web/ostatus/ostatus_test.exs
@@
-355,13
+355,6
@@
defmodule Pleroma.Web.OStatusTest 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)