Skip to content

Commit 3cff3cb

Browse files
committed
Fixed test-cases.
1 parent 588a61d commit 3cff3cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OptimizelySDK/OptimizelyTests/OptimizelyTests-Common/DecisionListenerTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ class DecisionListenerTests: XCTestCase {
426426
userId: "test_user_1",
427427
attributes: nil)
428428

429-
XCTAssertEqual(notificationExperiment, nil)
429+
XCTAssertEqual(notificationExperiment, "ab_running_exp_audience_combo_exact_foo_or_true__and__42_or_4_2")
430430
XCTAssertEqual(notificationVariation, nil)
431431
XCTAssertEqual(notificationType, Constants.DecisionTypeKeys.abTest)
432432
self.optimizely2?.notificationCenter.clearAllNotificationListeners()
@@ -470,7 +470,7 @@ class DecisionListenerTests: XCTestCase {
470470

471471
_ = try? optimizely2?.getVariation(experimentKey: "ab_running_exp_audience_combo_exact_foo_or_true__and__42_or_4_2", userId: "test_user_1")
472472

473-
XCTAssertEqual(notificationExperiment, nil)
473+
XCTAssertEqual(notificationExperiment, "ab_running_exp_audience_combo_exact_foo_or_true__and__42_or_4_2")
474474
XCTAssertEqual(notificationVariation, nil)
475475
XCTAssertEqual(notificationType, Constants.DecisionTypeKeys.abTest)
476476
self.optimizely2?.notificationCenter.clearAllNotificationListeners()

0 commit comments

Comments
 (0)