diff --git a/tests/NATS.Client.Services.Tests/ServicesTests.cs b/tests/NATS.Client.Services.Tests/ServicesTests.cs index 4920c9518..0115ad7d7 100644 --- a/tests/NATS.Client.Services.Tests/ServicesTests.cs +++ b/tests/NATS.Client.Services.Tests/ServicesTests.cs @@ -196,7 +196,10 @@ await grp2.AddEndpointAsync( await using var s2 = await svc.AddServiceAsync( new NatsSvcConfig("s2", "2.0.0") { - Description = "es-two", QueueGroup = "q2", Metadata = new Dictionary { { "k1", "v1" }, { "k2", "v2" }, }, StatsHandler = ep => JsonNode.Parse($"{{\"stat-k1\":\"stat-v1\",\"stat-k2\":\"stat-v2\",\"ep_name\": \"{ep.Name}\"}}")!, + Description = "es-two", + QueueGroup = "q2", + Metadata = new Dictionary { { "k1", "v1" }, { "k2", "v2" }, }, + StatsHandler = ep => JsonNode.Parse($"{{\"stat-k1\":\"stat-v1\",\"stat-k2\":\"stat-v2\",\"ep_name\": \"{ep.Name}\"}}")!, }, cancellationToken: cancellationToken);