1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

New: User configurable minimum free disk space

Closes #3233
This commit is contained in:
Ken Murphy
2019-08-15 01:14:59 -04:00
committed by Mark McDowall
parent b2267a55ce
commit 7829b18b3c
7 changed files with 33 additions and 2 deletions
@@ -68,8 +68,11 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications
}
[Test]
public void should_reject_when_there_isnt_enough_space_for_file_plus_100mb_padding()
public void should_reject_when_there_isnt_enough_space_for_file_plus_min_free_space()
{
Mocker.GetMock<IConfigService>()
.Setup(s => s.MinimumFreeSpaceWhenImporting)
.Returns(100);
GivenFileSize(100.Megabytes());
GivenFreeSpace(150.Megabytes());