projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dismiss the follow request notification on rejection
[akkoma]
/
test
/
tasks
/
user_test.exs
diff --git
a/test/tasks/user_test.exs
b/test/tasks/user_test.exs
index bfd0ccbc588b0bbd59f5e70c379acff2d509a873..8df835b56d6dba14f2076bdcd949dcde417a5868 100644
(file)
--- a/
test/tasks/user_test.exs
+++ b/
test/tasks/user_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.UserTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.UserTest do
@@
-140,7
+140,7
@@
defmodule Mix.Tasks.Pleroma.UserTest do
test "user is unsubscribed" do
followed = insert(:user)
user = insert(:user)
test "user is unsubscribed" do
followed = insert(:user)
user = insert(:user)
- User.follow(user, followed,
"accept"
)
+ User.follow(user, followed,
:follow_accept
)
Mix.Tasks.Pleroma.User.run(["unsubscribe", user.nickname])
Mix.Tasks.Pleroma.User.run(["unsubscribe", user.nickname])