mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user