Skip to content

Commit

Permalink
nit fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirfolio3 committed Oct 19, 2020
1 parent 7c0f6ef commit 397a51d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class OptimizelyClientTests_Others: XCTestCase {
// set invalid (infinity) to attribute values, which will cause JSONEncoder.encode exception
let attributes = ["testvar": Double.infinity]

optimizely.sendImpressionEvent(experiment: experiment, variation: variation, userId: kUserId, attributes: attributes, flagKey: experiment.key, ruleType: Constants.DecisionSource.rollout.rawValue)
optimizely.sendImpressionEvent(experiment: experiment, variation: variation, userId: kUserId, attributes: attributes, flagKey: "", ruleType: Constants.DecisionSource.rollout.rawValue)
XCTAssert(eventDispatcher.events.count == 0)
}

Expand Down

0 comments on commit 397a51d

Please sign in to comment.