Skip to content

Commit 3232abf

Browse files
[FSSDK-12014] linter fix
1 parent 814d511 commit 3232abf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

OptimizelySDK.Tests/CmabTests/DefaultCmabClientTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public void FetchDecision_CustomEndpoint_CallsCorrectUrl()
209209
var result = client.FetchDecision("rule-456", "user-1", null, "uuid-1");
210210

211211
Assert.AreEqual("variation123", result);
212-
Assert.AreEqual("https://custom.example.com/api/rule-456", capturedUrl,
212+
Assert.AreEqual("https://custom.example.com/api/rule-456", capturedUrl,
213213
"Should call custom endpoint with rule ID formatted into template");
214214
}
215215
}

OptimizelySDK.Tests/OptimizelyTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
using Moq;
2323
using NUnit.Framework;
2424
using OptimizelySDK.Bucketing;
25+
using OptimizelySDK.Cmab;
2526
using OptimizelySDK.Config;
2627
using OptimizelySDK.Entity;
2728
using OptimizelySDK.ErrorHandler;
@@ -6276,7 +6277,6 @@ public void TestInitializeCmabServiceWithCustomEndpointPropagatesCorrectly()
62766277
{
62776278
var customEndpoint = "https://custom.example.com/predict/{0}";
62786279
var cmabConfig = new CmabConfig().SetPredictionEndpointTemplate(customEndpoint);
6279-
62806280
var configManager = new Mock<ProjectConfigManager>();
62816281
var datafileConfig = DatafileProjectConfig.Create(TestData.Datafile, LoggerMock.Object, ErrorHandlerMock.Object);
62826282
configManager.Setup(cm => cm.GetConfig()).Returns(datafileConfig);
@@ -6335,7 +6335,7 @@ public void TestInitializeCmabServiceWithoutCustomEndpointUsesDefault()
63356335
var actualEndpoint = client?.GetType()
63366336
.GetField("_predictionEndpointTemplate", BindingFlags.NonPublic | BindingFlags.Instance)?.GetValue(client) as string;
63376337

6338-
Assert.AreEqual(OptimizelySDK.Cmab.CmabConstants.DEFAULT_PREDICTION_URL_TEMPLATE,
6338+
Assert.AreEqual(CmabConstants.DEFAULT_PREDICTION_URL_TEMPLATE,
63396339
actualEndpoint, "Should use default endpoint when no config provided");
63406340
}
63416341

0 commit comments

Comments
 (0)