We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cd52f commit 50b002aCopy full SHA for 50b002a
Flagsmith.EngineTest/EngineTestV2.cs
@@ -89,6 +89,12 @@ public void TestGetEvaluationResult_ShouldNotMutateOriginalContextIdentity()
89
90
// Assert: The original context's Identity.Key should still be null
91
Assert.Null(context.Identity.Key);
92
+
93
+ // ...and the rest of the context should remain unchanged
94
+ Assert.Equal("test-env", context.Environment.Key);
95
+ Assert.Equal("user-123", context.Identity.Identifier);
96
+ Assert.Empty(context.Features);
97
+ Assert.Empty(context.Segments);
98
}
99
100
0 commit comments