Skip to content

Commit f9296dc

Browse files
committed
change assertion in the test
1 parent 8b64dfb commit f9296dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sentry.AspNet.Tests/Internal/SystemWebRequestEventProcessorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ public void Process_PresetUserIP_NotOverwritten()
8282
var sut = _fixture.GetSut();
8383

8484
var processedEvt = sut.Process(evt);
85-
Assert.Same(processedEvt?.User.IpAddress, userIp);
85+
Assert.Equal(userIp, processedEvt?.User.IpAddress);
8686
}
8787
}

0 commit comments

Comments
 (0)