Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
westin-m committed Dec 12, 2024
1 parent d07e88b commit 518df9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.IdentityModel.JsonWebTokens.Tests
public class JsonWebTokenHandlerTelemetryTests
{
[Fact]
public async Task ValidateJWSWithConfigAsync()
public async Task ValidateJWSWithConfigAsync_ExpectedTagsExist()
{
var invalidIssuerConfig = new OpenIdConnectConfiguration()
{
Expand Down Expand Up @@ -57,7 +57,9 @@ public async Task ValidateJWSWithConfigAsync()

var expectedCounterTagList = new Dictionary<string, object>
{
// metadata address is null because the configuration manager is made using an invalid config to trigger an exception
{ TelemetryConstants.IdentityModelVersionTag, IdentityModelTelemetryUtil.ClientVer },
{ TelemetryConstants.MetadataAddressTag, null },
{ TelemetryConstants.OperationStatusTag, TelemetryConstants.Protocols.LKG }
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public void ValidateToken_ExpectedTagsExist()

var expectedCounterTagList = new Dictionary<string, object>
{
// metadata address is null because the configuration manager is made using an invalid config to trigger an exception
{ TelemetryConstants.IdentityModelVersionTag, IdentityModelTelemetryUtil.ClientVer },
{ TelemetryConstants.MetadataAddressTag, null },
{ TelemetryConstants.OperationStatusTag, TelemetryConstants.Protocols.LKG },
};

Expand Down

0 comments on commit 518df9f

Please sign in to comment.