Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Removes unneeded test method overload
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhilton committed May 16, 2022
1 parent c0856e9 commit 2fa692c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Calamari.Tests/AppServiceBehaviorFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,14 @@ private static (string packagePath, string packageName, string packageVersion) P
return packageInfo;
}

private void AddVariables(CommandTestBuilderContext context, string siteName = null)
private void AddVariables(CommandTestBuilderContext context)
{
context.Variables.Add(AccountVariables.ClientId, clientId);
context.Variables.Add(AccountVariables.Password, clientSecret);
context.Variables.Add(AccountVariables.TenantId, tenantId);
context.Variables.Add(AccountVariables.SubscriptionId, subscriptionId);
context.Variables.Add("Octopus.Action.Azure.ResourceGroupName", resourceGroupName);
context.Variables.Add("Octopus.Action.Azure.WebAppName", siteName ?? site.Name);
context.Variables.Add("Octopus.Action.Azure.WebAppName", site.Name);
context.Variables.Add("Greeting", greeting);
context.Variables.Add(KnownVariables.Package.EnabledFeatures, KnownVariables.Features.SubstituteInFiles);
context.Variables.Add(PackageVariables.SubstituteInFilesTargets, "index.html");
Expand Down

0 comments on commit 2fa692c

Please sign in to comment.