projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'openapi/admin/status' 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 c2561683e6e0062ea3f50d092c9c6217350fc22d..5864f9e5f675f2d420cad8ac39de3b1b3ec8b94e 100644
(file)
--- a/
test/workers/cron/purge_expired_activities_worker_test.exs
+++ b/
test/workers/cron/purge_expired_activities_worker_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 Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
@@
-11,7
+11,7
@@
defmodule Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
import Pleroma.Factory
import ExUnit.CaptureLog
import Pleroma.Factory
import ExUnit.CaptureLog
- clear_config([ActivityExpiration, :enabled])
+
setup do:
clear_config([ActivityExpiration, :enabled])
test "deletes an expiration activity" do
Pleroma.Config.put([ActivityExpiration, :enabled], true)
test "deletes an expiration activity" do
Pleroma.Config.put([ActivityExpiration, :enabled], true)