Skip to content

Commit

Permalink
Remove redundant property
Browse files Browse the repository at this point in the history
  • Loading branch information
ebbeknudsen committed Nov 27, 2024
1 parent 7a00249 commit bb93155
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public OrchestrationsAppManager(

IntegrationTestConfiguration = configuration;
AzuriteManager = azuriteManager;
HostConfigurationBuilder = new FunctionAppHostConfigurationBuilder();
ServiceBusResourceProvider = new ServiceBusResourceProvider(
TestLogger,
IntegrationTestConfiguration.ServiceBusFullyQualifiedNamespace,
Expand All @@ -95,8 +94,6 @@ public OrchestrationsAppManager(

private AzuriteManager AzuriteManager { get; }

private FunctionAppHostConfigurationBuilder HostConfigurationBuilder { get; }

private ServiceBusResourceProvider ServiceBusResourceProvider { get; }

/// <summary>
Expand Down Expand Up @@ -237,7 +234,9 @@ private FunctionAppHostSettings CreateAppHostSettings(
{
var buildConfiguration = GetBuildConfiguration();

var appHostSettings = HostConfigurationBuilder.CreateFunctionAppHostSettings();
var appHostSettings = new FunctionAppHostConfigurationBuilder()
.CreateFunctionAppHostSettings();

appHostSettings.FunctionApplicationPath = $"..\\..\\..\\..\\{csprojName}\\bin\\{buildConfiguration}\\net8.0";
appHostSettings.Port = _appPort;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public ProcessManagerAppManager(

IntegrationTestConfiguration = integrationTestConfiguration;
AzuriteManager = azuriteManager;
HostConfigurationBuilder = new FunctionAppHostConfigurationBuilder();
}

public ProcessManagerDatabaseManager DatabaseManager { get; }
Expand All @@ -87,8 +86,6 @@ public ProcessManagerAppManager(

private AzuriteManager AzuriteManager { get; }

private FunctionAppHostConfigurationBuilder HostConfigurationBuilder { get; }

public async Task StartAsync()
{
if (_manageAzurite)
Expand Down Expand Up @@ -173,7 +170,9 @@ private FunctionAppHostSettings CreateAppHostSettings(string csprojName)
{
var buildConfiguration = GetBuildConfiguration();

var appHostSettings = HostConfigurationBuilder.CreateFunctionAppHostSettings();
var appHostSettings = new FunctionAppHostConfigurationBuilder()
.CreateFunctionAppHostSettings();

appHostSettings.FunctionApplicationPath = $"..\\..\\..\\..\\{csprojName}\\bin\\{buildConfiguration}\\net8.0";
appHostSettings.Port = _appPort;

Expand Down

0 comments on commit bb93155

Please sign in to comment.