projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only need to validate a follow request is generated for now
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
relay_test.exs
diff --git
a/test/pleroma/web/activity_pub/relay_test.exs
b/test/pleroma/web/activity_pub/relay_test.exs
index 3284980f75ca62170136203db24196b76bfd4374..2aa07d1b5428618a266d1aafd05ec58d318ba5a2 100644
(file)
--- a/
test/pleroma/web/activity_pub/relay_test.exs
+++ b/
test/pleroma/web/activity_pub/relay_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.RelayTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.RelayTest do
@@
-84,7
+84,7
@@
defmodule Pleroma.Web.ActivityPub.RelayTest do
)
Pleroma.Repo.delete(user)
)
Pleroma.Repo.delete(user)
-
Cachex.clear(:user_cache
)
+
User.invalidate_cache(user
)
assert {:ok, %Activity{} = activity} = Relay.unfollow(user_ap_id, %{force: true})
assert {:ok, %Activity{} = activity} = Relay.unfollow(user_ap_id, %{force: true})