diff --git a/EasyPost.Tests/ServicesTests/WebhookServiceTest.cs b/EasyPost.Tests/ServicesTests/WebhookServiceTest.cs index 719ab072..407d0c19 100644 --- a/EasyPost.Tests/ServicesTests/WebhookServiceTest.cs +++ b/EasyPost.Tests/ServicesTests/WebhookServiceTest.cs @@ -100,7 +100,7 @@ public void TestValidateWebHook() Event @event = Client.Webhook.ValidateWebhook(eventData, headers, webhookSecret); Assert.Equal("tracker.updated", @event.Description); - Assert.Equal(614.4, @event.Result.Weight); + Assert.Equal(614.4, @event.Result["weight"]); // Ensure we convert floats properly } [Fact]