Merge pull request #2187 from umbraco/temp-U4-10118

temp u4 10118
This commit is contained in:
Stephan
2017-09-12 16:05:55 +02:00
committed by GitHub
9 changed files with 141 additions and 21 deletions

View File

@@ -26,14 +26,14 @@ namespace Umbraco.Tests.IO
// start clean
// because some tests will create corrupt or weird filesystems
FileSystemProviderManager.Current.Reset();
FileSystemProviderManager.ResetCurrent();
}
[TearDown]
public void TearDown()
{
// stay clean (see note in SetUp)
FileSystemProviderManager.Current.Reset();
FileSystemProviderManager.ResetCurrent();
}
[Test]

View File

@@ -155,7 +155,7 @@ namespace Umbraco.Tests.TestHelpers
// FileSystemProviderManager captures the current ApplicationContext ScopeProvider
// in its current static instance (yea...) so we need to reset it here to ensure
// it is using the proper ScopeProvider
FileSystemProviderManager.Current.Reset();
FileSystemProviderManager.ResetCurrent();
}
protected virtual ApplicationContext CreateApplicationContext()