mirror of
https://github.com/Readarr/Readarr
synced 2025-12-28 11:13:22 +01:00
added test for InheritFolderPermissions
This commit is contained in:
parent
1665bfa6ac
commit
bcec14fc9b
1 changed files with 11 additions and 0 deletions
|
|
@ -198,6 +198,17 @@ public void should_return_true_for_unlocked_file()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
[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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue