System.IO.Abstractions
System.IO.Abstractions copied to clipboard
fix: #736 - MoveTo implementation for MockDirectoryInfo under TestingHelpers
Fix for issue #736.
Made changes to the MockDirectoryInfo under System.IO.Abstractions.TestingHelpers.
MoveTo now updates the directoryName when moving the directory to the destination folder.
This should also fix the following methods (if they are called after MoveTo is called):
- Delete
- GetAccessControl
- GetDirectories
- SetAccessControl
- GetMockFileDataForWrite
Thanks, I'll have a look by by the end of this week!
Superseded by #972