mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
Relocates real-resource tests into integration projects and improves data access unit tests
This commit is contained in:
1 parent
551259ad81
commit
042c5e4729
56 files changed
+5642
-4136
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ internal class FileProviderService : IFileProviderService
|
||||
// check if the user has access permissions to the provided path
|
||||
if (!_fileSystemPermissionsService.CanAccessPath(path, FileAccessMode.ReadContents))
|
||||
return Errors.Permission.UnauthorizedAccess;
|
||||
return File.ReadAllBytes(path.Path);
|
||||
return _fileSystem.File.ReadAllBytes(path.Path);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user