We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6e6c9b commit f57868eCopy full SHA for f57868e
test/Sentry.Tests/Protocol/SentryTransactionTests.cs
@@ -244,6 +244,15 @@ public void SerializeObject_AllPropertiesSetToNonDefault_SerializesValidObject()
244
245
return o;
246
});
247
+
248
+ using (_ = new AssertionScope())
249
+ {
250
+ KeyValuePair<string, string> expectedData = new("extra_key", "extra_value");
251
+ finalTransaction.Data.Should().ContainSingle().Which.Should().Be(expectedData);
252
+ finalTransaction.Contexts.Trace.Data.Should().ContainSingle().Which.Should().Be(expectedData);
253
+ actual.Data.Should().ContainSingle().Which.Should().Be(expectedData);
254
+ actual.Contexts.Trace.Data.Should().ContainSingle().Which.Should().Be(expectedData);
255
+ }
256
}
257
258
[Fact]
0 commit comments