mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Moved FreeDiskSpace to DiskProvider.
This commit is contained in:
parent
401b3b13e2
commit
95cdc4b78c
6 changed files with 59 additions and 29 deletions
|
@ -80,13 +80,5 @@ namespace NzbDrone.Core.Test
|
|||
Console.WriteLine(dateTime.DayOfWeek);
|
||||
dateTime.ToBestDateString().Should().Be(dateTime.ToShortDateString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void FreeDiskSpace()
|
||||
{
|
||||
//Checks to ensure that the free space on the first is greater than 0 (It should be in 99.99999999999999% of cases... I hope)
|
||||
var di = new DirectoryInfo(Directory.GetCurrentDirectory());
|
||||
di.FreeDiskSpace().Should().BeGreaterThan(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue