Skip to content

Commit

Permalink
Updated Test Plans and Suits to use the new safe common enricher impo…
Browse files Browse the repository at this point in the history
…rt to fix #1983
  • Loading branch information
MrHinsh committed Mar 15, 2024
1 parent 433f23a commit a2344f0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,7 @@ public override void Configure(IProcessorConfig config)
{
_config = (TestPlansAndSuitesMigrationConfig)config;


var nodeStructureOptions =
_engineConfig.CommonEnrichersConfig.OfType<TfsNodeStructureOptions>().FirstOrDefault()
?? throw new InvalidOperationException("Cannot use common node structure because it is not found.");
_nodeStructureEnricher.Configure(nodeStructureOptions);
PullCommonEnrichersConfig<TfsNodeStructure, TfsNodeStructureOptions>(_engineConfig.CommonEnrichersConfig, _nodeStructureEnricher);

}

Expand Down

0 comments on commit a2344f0

Please sign in to comment.