1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 17:57:43 +00:00

added test for InheritFolderPermissions

This commit is contained in:
kay.one 2013-09-14 12:55:18 -07:00
parent 1665bfa6ac
commit bcec14fc9b

View file

@ -198,6 +198,17 @@ namespace NzbDrone.Common.Test.DiskProviderTests
}
}
[Test]
public void should_be_able_to_set_permission_from_parrent()
{
var testFile = GetTestFilePath();
Subject.WriteAllText(testFile, new Guid().ToString());
Subject.InheritFolderPermissions(testFile);
}
[Test]
[Explicit]
public void check_last_write()