FIX: refactor calling of timed backup deletion

refactor calling of timed backup deletion so it runs regardless of SiteSetting.automatic_backups_enabled value
This commit is contained in:
marstall
2024-01-08 15:41:00 -05:00
committed by GitHub
parent c62d1197b9
commit 3837657449
6 changed files with 38 additions and 17 deletions

View File

@ -87,10 +87,6 @@ RSpec.describe BackupRestore::Backuper do
store.expects(:reset_cache).at_least_once
run
end
it "deletes any old backups" do
store.expects(:delete_prior_to_n_days)
run
end
end
end
end