Fixed: All the tests

This commit is contained in:
ta264
2019-08-22 21:15:25 +01:00
committed by Qstick
parent 9392c13364
commit ee7d47d044
29 changed files with 397 additions and 209 deletions
@@ -245,14 +245,20 @@ namespace NzbDrone.Common.Test.DiskTests
}
[Test]
[Ignore("No longer behaving this way in a Windows 10 Feature Update")]
public void should_not_be_able_to_rename_open_hardlinks_with_fileshare_none()
{
WindowsOnly();
Assert.Throws<IOException>(() => DoHardLinkRename(FileShare.None));
}
[Test]
[Ignore("No longer behaving this way in a Windows 10 Feature Update")]
public void should_not_be_able_to_rename_open_hardlinks_with_fileshare_write()
{
WindowsOnly();
Assert.Throws<IOException>(() => DoHardLinkRename(FileShare.Read));
}
}