Skip to content

Commit 16154d5

Browse files
authored
Merge pull request #981 from BranchMetrics/SDK-696-fix-tests-for-mutability-change-on-BranchEvent
SDK-696 fix tests for mutability change on branch event
2 parents 9a270a3 + 349a396 commit 16154d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Branch-SDK-Tests/BranchEvent.Test.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@ - (void) testExampleSyntax {
271271

272272
BranchEvent *event = [BranchEvent standardEvent:BranchStandardEventCompleteRegistration];
273273
event.eventDescription = @"Product Search";
274-
event.searchQuery = @"product name";
275-
event.customData[@"rating"] = @"5";
274+
event.searchQuery = @"product name";
275+
event.customData = @{ @"rating": @"5" };
276+
276277
[event logEvent];
277278
}
278279

0 commit comments

Comments
 (0)