@@ -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]
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user