projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21dafa7
)
test: fixup test breakage caused by User.delete() harmonization
author
William Pitcock
<nenolod@dereferenced.org>
Thu, 1 Nov 2018 08:23:49 +0000
(08:23 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Thu, 1 Nov 2018 08:23:49 +0000
(08:23 +0000)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 9b3519ece5db372c0afa06cb8f1c012f8d95b7cd..7dec3462f94e6bc92beb63459efc93feb9d7281e 100644
(file)
--- a/
test/user_test.exs
+++ b/
test/user_test.exs
@@
-511,7
+511,7
@@
defmodule Pleroma.UserTest do
{:ok, _, _} = CommonAPI.favorite(activity.id, follower)
{:ok, _, _} = CommonAPI.repeat(activity.id, follower)
-
:ok
= User.delete(user)
+
{:ok, _}
= User.delete(user)
followed = Repo.get(User, followed.id)
follower = Repo.get(User, follower.id)