@@ -84,7 +84,7 @@ public class NamedConfigurationFileLocatorTests : TestBase
8484 [ SetUp ]
8585 public void Setup ( )
8686 {
87- this . gitVersionOptions = new GitVersionOptions { ConfigInfo = { ConfigurationFile = "my-config.yaml" } } ;
87+ this . gitVersionOptions = new GitVersionOptions { ConfigurationInfo = { ConfigurationFile = "my-config.yaml" } } ;
8888 this . repoPath = DefaultRepoPath ;
8989 this . workingPath = DefaultWorkingPath ;
9090
@@ -140,7 +140,7 @@ public void DoNotThrowWhenConfigFileIsInSubDirectoryOfRepoPath()
140140 {
141141 this . workingPath = DefaultRepoPath ;
142142
143- this . gitVersionOptions = new GitVersionOptions { ConfigInfo = { ConfigurationFile = "./src/my-config.yaml" } } ;
143+ this . gitVersionOptions = new GitVersionOptions { ConfigurationInfo = { ConfigurationFile = "./src/my-config.yaml" } } ;
144144 var sp = GetServiceProvider ( this . gitVersionOptions ) ;
145145 this . configFileLocator = sp . GetRequiredService < IConfigurationFileLocator > ( ) ;
146146 this . fileSystem = sp . GetRequiredService < IFileSystem > ( ) ;
@@ -200,8 +200,8 @@ public void ThrowsExceptionOnCustomYmlFileDoesNotExist()
200200
201201 var exception = Should . Throw < WarningException > ( ( ) => this . configFileLocator . Verify ( this . workingPath , this . repoPath ) ) ;
202202
203- var workingPathFileConfig = PathHelper . Combine ( this . workingPath , this . gitVersionOptions . ConfigInfo . ConfigurationFile ) ;
204- var repoPathFileConfig = PathHelper . Combine ( this . repoPath , this . gitVersionOptions . ConfigInfo . ConfigurationFile ) ;
203+ var workingPathFileConfig = PathHelper . Combine ( this . workingPath , this . gitVersionOptions . ConfigurationInfo . ConfigurationFile ) ;
204+ var repoPathFileConfig = PathHelper . Combine ( this . repoPath , this . gitVersionOptions . ConfigurationInfo . ConfigurationFile ) ;
205205 var expectedMessage = $ "The configuration file was not found at '{ workingPathFileConfig } ' or '{ repoPathFileConfig } '";
206206 exception . Message . ShouldBe ( expectedMessage ) ;
207207 }
0 commit comments