@@ -280,7 +280,7 @@ public void ChoosesHighestVersionReturnedFromStrategies()
280
280
var configuration = GitFlowConfigurationBuilder . New . Build ( ) ;
281
281
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
282
282
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
283
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
283
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
284
284
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
285
285
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
286
286
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
@@ -311,7 +311,7 @@ public void UsesWhenFromNextBestMatchIfHighestDoesntHaveWhen()
311
311
var configuration = GitFlowConfigurationBuilder . New . Build ( ) ;
312
312
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
313
313
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
314
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
314
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
315
315
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
316
316
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
317
317
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
@@ -342,7 +342,7 @@ public void UsesWhenFromNextBestMatchIfHighestDoesntHaveWhenReversedOrder()
342
342
var configuration = GitFlowConfigurationBuilder . New . Build ( ) ;
343
343
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
344
344
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
345
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
345
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
346
346
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
347
347
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
348
348
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
@@ -374,7 +374,7 @@ public void ShouldNotFilterVersion()
374
374
var configuration = GitFlowConfigurationBuilder . New . WithIgnoreConfiguration ( fakeIgnoreConfig ) . Build ( ) ;
375
375
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
376
376
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
377
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
377
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
378
378
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
379
379
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
380
380
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
@@ -405,7 +405,7 @@ public void ShouldFilterVersion()
405
405
var configuration = GitFlowConfigurationBuilder . New . WithIgnoreConfiguration ( fakeIgnoreConfig ) . Build ( ) ;
406
406
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
407
407
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
408
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
408
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
409
409
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
410
410
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
411
411
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
@@ -440,7 +440,7 @@ public void ShouldIgnorePreReleaseVersionInMainlineMode()
440
440
. Build ( ) ;
441
441
var context = new GitVersionContext ( branchMock , null , configuration , null , 0 ) ;
442
442
var repositoryStoreMock = Substitute . For < IRepositoryStore > ( ) ;
443
- var effectiveConfiguration = context . GetEffectiveConfiguration ( branchMock ) ;
443
+ var effectiveConfiguration = context . Configuration . GetEffectiveConfiguration ( branchMock ) ;
444
444
var effectiveBranchConfiguration = new EffectiveBranchConfiguration ( branchMock , effectiveConfiguration ) ;
445
445
var effectiveBranchConfigurationFinderMock = Substitute . For < IEffectiveBranchConfigurationFinder > ( ) ;
446
446
effectiveBranchConfigurationFinderMock . GetConfigurations ( branchMock , configuration ) . Returns ( new [ ] { effectiveBranchConfiguration } ) ;
0 commit comments