Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
This commit is contained in:
@@ -254,7 +254,7 @@ namespace Umbraco.Tests.IO
|
||||
var sfs = new PhysicalFileSystem(ioHelper, logger, path + "/ShadowSystem/", "ignore");
|
||||
var ss = new ShadowFileSystem(fs, sfs);
|
||||
|
||||
Assert.Throws<FileSecurityException>(() =>
|
||||
Assert.Throws<UnauthorizedAccessException>(() =>
|
||||
{
|
||||
using (var ms = new MemoryStream(Encoding.UTF8.GetBytes("foo")))
|
||||
ss.AddFile("../../f1.txt", ms);
|
||||
|
||||
Reference in New Issue
Block a user