projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'pleroma/develop' into instance-deletion
[akkoma]
/
test
/
pleroma
/
config
/
transfer_task_test.exs
diff --git
a/test/pleroma/config/transfer_task_test.exs
b/test/pleroma/config/transfer_task_test.exs
index f53829e094ca5ac272171dc64caa06f58de91bb2..7d51fd84ce50fa4a3f0f6cac0a4480d9b96ed753 100644
(file)
--- a/
test/pleroma/config/transfer_task_test.exs
+++ b/
test/pleroma/config/transfer_task_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.Config.TransferTaskTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Config.TransferTaskTest do
@@
-93,8
+93,8
@@
defmodule Pleroma.Config.TransferTaskTest do
end
test "on reboot time key" do
end
test "on reboot time key" do
- clear_config(:
cha
t)
- insert(:config, key: :
cha
t, value: [enabled: false])
+ clear_config(:
shou
t)
+ insert(:config, key: :
shou
t, value: [enabled: false])
assert capture_log(fn -> TransferTask.start_link([]) end) =~ "pleroma restarted"
end
assert capture_log(fn -> TransferTask.start_link([]) end) =~ "pleroma restarted"
end
@@
-105,10
+105,10
@@
defmodule Pleroma.Config.TransferTaskTest do
end
test "don't restart pleroma on reboot time key and subkey if there is false flag" do
end
test "don't restart pleroma on reboot time key and subkey if there is false flag" do
- clear_config(:
cha
t)
+ clear_config(:
shou
t)
clear_config(Pleroma.Captcha)
clear_config(Pleroma.Captcha)
- insert(:config, key: :
cha
t, value: [enabled: false])
+ insert(:config, key: :
shou
t, value: [enabled: false])
insert(:config, key: Pleroma.Captcha, value: [seconds_valid: 60])
refute String.contains?(
insert(:config, key: Pleroma.Captcha, value: [seconds_valid: 60])
refute String.contains?(