mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
All tests now use base class Mocker
This commit is contained in:
parent
ab29a114d1
commit
1b45a85f3f
39 changed files with 1002 additions and 1010 deletions
|
@ -21,11 +21,11 @@ namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
|
|||
public void FreeDiskSpace()
|
||||
{
|
||||
//Setup
|
||||
var mocker = new AutoMoqer();
|
||||
|
||||
|
||||
//Act
|
||||
var di = new DirectoryInfo(Directory.GetCurrentDirectory());
|
||||
var result = mocker.Resolve<DiskProvider>().FreeDiskSpace(di);
|
||||
var result = Mocker.Resolve<DiskProvider>().FreeDiskSpace(di);
|
||||
|
||||
//Asert
|
||||
//Checks to ensure that the free space on the first is greater than 0 (It should be in 99.99999999999999% of cases... I hope)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue