Fixing Azure unit tests

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-03-29 14:09:35 -07:00
parent d65eda0f02
commit 5ef0ec23e1

View File

@@ -156,7 +156,9 @@ namespace Orchard.Azure {
public bool TryCreateFolder(string path) {
try {
CreateFolder(path);
if (!Container.DirectoryExists(String.Concat(_root, path))) {
CreateFolder(path);
}
return true;
}
catch {