Skip to content

Commit

Permalink
ensure error is reported
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Nov 15, 2024
1 parent 2864ac2 commit 7db16bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/sdk/server-ai/test/InterpolationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ public void TestInterpolationMalformed()

mockClient.Setup(x => x.GetLogger()).Returns(mockLogger.Object);

mockLogger.Setup(x => x.Error(It.IsAny<string>()));

var client = new LdAiClient(mockClient.Object);
var tracker = client.ModelConfig("foo", Context.New("key"), LdAiConfig.Disabled);
Assert.False(tracker.Config.Enabled);
Expand Down

0 comments on commit 7db16bf

Please sign in to comment.