projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'chore/remove-reference-to-distsn' into 'develop'
[akkoma]
/
test
/
workers
/
cron
/
purge_expired_activities_worker_test.exs
diff --git
a/test/workers/cron/purge_expired_activities_worker_test.exs
b/test/workers/cron/purge_expired_activities_worker_test.exs
index 6d2991a6071d3b19ea5aab0d787fa86a2f007a9f..b1db59fdf8876eb89ae3d64a715711af70365b69 100644
(file)
--- a/
test/workers/cron/purge_expired_activities_worker_test.exs
+++ b/
test/workers/cron/purge_expired_activities_worker_test.exs
@@
-13,7
+13,6
@@
defmodule Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
setup do
clear_config([ActivityExpiration, :enabled])
setup do
clear_config([ActivityExpiration, :enabled])
- clear_config([:instance, :rewrite_policy])
end
test "deletes an expiration activity" do
end
test "deletes an expiration activity" do
@@
-42,10
+41,7
@@
defmodule Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
test "works with ActivityExpirationPolicy" do
Pleroma.Config.put([ActivityExpiration, :enabled], true)
test "works with ActivityExpirationPolicy" do
Pleroma.Config.put([ActivityExpiration, :enabled], true)
- Pleroma.Config.put(
- [:instance, :rewrite_policy],
- Pleroma.Web.ActivityPub.MRF.ActivityExpirationPolicy
- )
+ clear_config([:mrf, :policies], Pleroma.Web.ActivityPub.MRF.ActivityExpirationPolicy)
user = insert(:user)
user = insert(:user)