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

Commit 2fa692c

Browse files
committed
Removes unneeded test method overload
1 parent c0856e9 commit 2fa692c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Calamari.Tests/AppServiceBehaviorFixture.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,14 @@ private static (string packagePath, string packageName, string packageVersion) P
279279
return packageInfo;
280280
}
281281

282-
private void AddVariables(CommandTestBuilderContext context, string siteName = null)
282+
private void AddVariables(CommandTestBuilderContext context)
283283
{
284284
context.Variables.Add(AccountVariables.ClientId, clientId);
285285
context.Variables.Add(AccountVariables.Password, clientSecret);
286286
context.Variables.Add(AccountVariables.TenantId, tenantId);
287287
context.Variables.Add(AccountVariables.SubscriptionId, subscriptionId);
288288
context.Variables.Add("Octopus.Action.Azure.ResourceGroupName", resourceGroupName);
289-
context.Variables.Add("Octopus.Action.Azure.WebAppName", siteName ?? site.Name);
289+
context.Variables.Add("Octopus.Action.Azure.WebAppName", site.Name);
290290
context.Variables.Add("Greeting", greeting);
291291
context.Variables.Add(KnownVariables.Package.EnabledFeatures, KnownVariables.Features.SubstituteInFiles);
292292
context.Variables.Add(PackageVariables.SubstituteInFilesTargets, "index.html");

0 commit comments

Comments
 (0)