Skip to content

Commit

Permalink
PR feedback - fix paramether name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek committed Mar 15, 2024
1 parent 3a108ff commit 7feba09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public void MethodMappingWorksForKnownMethods(string method, string expected)
[InlineData("get", "GET")]
[InlineData("post", "POST")]
[InlineData("invalid", "_OTHER")]
public void MethodMappingWorksForEnvironmentVariables(string protocolVersion, string expected)
public void MethodMappingWorksForEnvironmentVariables(string method, string expected)
{
Environment.SetEnvironmentVariable("OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS", "GET,POST");
var requestHelper = new RequestDataHelper();
var actual = requestHelper.GetNormalizedHttpMethod(protocolVersion);
var actual = requestHelper.GetNormalizedHttpMethod(method);
Assert.Equal(expected, actual);
}

Expand Down

0 comments on commit 7feba09

Please sign in to comment.