diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-09-04 18:30:39 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-07 18:34:29 +0400 |
commit | 3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6 (patch) | |
tree | b9933046dd67d06cef6b4ef8e4c28c2252d2341b /test | |
parent | a0ad9bd734e9af0ce912c32c7480a60ff87a4368 (diff) | |
download | pleroma-3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6.tar.gz pleroma-3ad7492f9dd1c76cdbc64ad2246f8e9c8c5c4ae6.zip |
Add config for Pleroma.Backup
Diffstat (limited to 'test')
-rw-r--r-- | test/backup_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/backup_test.exs b/test/backup_test.exs index 5b1f76dd9..f343b0361 100644 --- a/test/backup_test.exs +++ b/test/backup_test.exs @@ -27,7 +27,7 @@ defmodule Pleroma.BackupTest do test "it return an error if the export limit is over" do %{id: user_id} = user = insert(:user) - limit_days = 7 + limit_days = Pleroma.Config.get([Pleroma.Backup, :limit_days]) assert {:ok, %Oban.Job{args: args}} = Backup.create(user) backup = Backup.get(args["backup_id"]) assert %Backup{user_id: ^user_id, processed: false, file_size: 0} = backup |