File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/GitVersion.Configuration.Tests/Configuration Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,6 @@ public void ReturnConfigurationFilePathIfCustomConfigurationIsSet()
177177 this . gitVersionOptions = new ( ) { ConfigurationInfo = { ConfigurationFile = "Configuration/CustomConfig.yaml" } } ;
178178 var sp = GetServiceProvider ( this . gitVersionOptions ) ;
179179 this . configFileLocator = sp . GetRequiredService < IConfigurationFileLocator > ( ) ;
180- this . fileSystem = sp . GetRequiredService < IFileSystem > ( ) ;
181-
182- using var _ = this . fileSystem . SetupConfigFile ( path : this . workingPath , fileName : ConfigFile ) ;
183180
184181 var config = this . configFileLocator . GetConfigurationFile ( this . workingPath ) ;
185182 config . ShouldNotBe ( Path . GetFullPath ( "Configuration/CustomConfig.yaml" ) ) ;
@@ -196,9 +193,6 @@ public void ReturnConfigurationFilePathIfCustomConfigurationIsSet_InvalidConfigu
196193 this . gitVersionOptions = new ( ) { ConfigurationInfo = { ConfigurationFile = configFile } } ;
197194 var sp = GetServiceProvider ( this . gitVersionOptions ) ;
198195 this . configFileLocator = sp . GetRequiredService < IConfigurationFileLocator > ( ) ;
199- this . fileSystem = sp . GetRequiredService < IFileSystem > ( ) ;
200-
201- using var _ = this . fileSystem . SetupConfigFile ( path : this . workingPath , fileName : ConfigFile ) ;
202196
203197 var config = this . configFileLocator . GetConfigurationFile ( this . workingPath ) ;
204198 config . ShouldNotBe ( null ) ;
You can’t perform that action at this time.
0 commit comments