public AppConfigurationFixture() { Mapper.Initialize( cfg => { cfg.AddProfile <CodeSystemApiProfile>(); cfg.AddProfile <CodeSystemCodeApiProfile>(); cfg.AddProfile <ValueSetApiProfile>(); }); var builder = new ConfigurationBuilder() .AddEnvironmentVariables() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile(TerminologyTestHelper.GetAppConfigFile().FullName); this.Configuration = builder.Build(); this.AppConfiguration = new AppConfiguration(); this.Configuration.Bind(this.AppConfiguration); }
public TerminologyVersionTests([NotNull] ITestOutputHelper output) : base(output) { this.versionConfig = TerminologyTestHelper.GetVersionJson(); }