Skip to content

Commit

Permalink
rename ff id to TelemetryVariantPercentile
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSadfa committed Oct 21, 2024
1 parent 49ef1fc commit 86fde17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tests.AzureAppConfiguration/FeatureManagementTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ public class FeatureManagementTests
key: FeatureManagementConstants.FeatureFlagMarker + "TelemetryVariantPercentile",
value: @"
{
""id"": ""TelemetryVariant"",
""id"": ""TelemetryVariantPercentile"",
""enabled"": true,
""variants"": [
{
Expand Down Expand Up @@ -2119,7 +2119,7 @@ public void WithAllocationId()

// Validate TelemetryVariantPercentile
Assert.Equal("True", config["feature_management:feature_flags:1:telemetry:enabled"]);
Assert.Equal("TelemetryVariant", config["feature_management:feature_flags:1:id"]);
Assert.Equal("TelemetryVariantPercentile", config["feature_management:feature_flags:1:id"]);

Assert.Equal($"{TestHelpers.PrimaryConfigStoreEndpoint}kv/{FeatureManagementConstants.FeatureFlagMarker}TelemetryVariantPercentile?label=label", config["feature_management:feature_flags:1:telemetry:metadata:FeatureFlagReference"]);

Expand Down

0 comments on commit 86fde17

Please sign in to comment.