|
|
@ -41,12 +41,6 @@ namespace Squidex.Infrastructure.Assets |
|
|
Assert.True(Directory.Exists(testFolder)); |
|
|
Assert.True(Directory.Exists(testFolder)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Fact] |
|
|
|
|
|
public void Should_throw_when_creating_directory_failed() |
|
|
|
|
|
{ |
|
|
|
|
|
Assert.Throws<ConfigurationException>(() => new FolderAssetStore("Z:\\Foo", new Mock<ISemanticLog>().Object).Connect()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Fact] |
|
|
[Fact] |
|
|
public Task Should_throw_exception_if_asset_not_found() |
|
|
public Task Should_throw_exception_if_asset_not_found() |
|
|
{ |
|
|
{ |
|
|
|