@@ -134,6 +134,8 @@ - (void)runInAppMessagePrioritizationTest:(NSDictionary *)messageConfigs
134134 withFilter: self .mockFilter
135135 fromMessageId: self .mockFromMessageId
136136 withContextualValues: self .mockContextualValues];
137+
138+ NSLog (@" IDS: %@ " , calledMessageIds);
137139
138140 XCTAssertTrue ([calledMessageIds isEqualToSet: expectedMessageIds]);
139141}
@@ -160,7 +162,7 @@ - (void) test_no_priorities
160162
161163 NSDictionary *messageConfigs = [LPJSON JSONFromString: jsonString];
162164 [self runInAppMessagePrioritizationTest: messageConfigs
163- withExpectedMessageIds: [NSSet setWithObjects: @" 1" , @" 2 " , @" 3 " , nil ]];
165+ withExpectedMessageIds: [NSSet setWithObjects: @" 1" , nil ]];
164166}
165167
166168- (void ) test_different_priorities
@@ -189,14 +191,14 @@ - (void) test_tied_priorities
189191
190192 NSDictionary *messageConfigs = [LPJSON JSONFromString: jsonString];
191193 [self runInAppMessagePrioritizationTest: messageConfigs
192- withExpectedMessageIds: [NSSet setWithObjects: @" 1" , @" 3 " , nil ]];
194+ withExpectedMessageIds: [NSSet setWithObjects: @" 1" , nil ]];
193195
194196 // Testing three messages with the same priority.
195197 jsonString = [LeanplumHelper retrieve_string_from_file: @" TiedPriorities2"
196198 ofType: @" json" ];
197199 messageConfigs = [LPJSON JSONFromString: jsonString];
198200 [self runInAppMessagePrioritizationTest: messageConfigs
199- withExpectedMessageIds: [NSSet setWithObjects: @" 1" , @" 2 " , @" 3 " , nil ]];
201+ withExpectedMessageIds: [NSSet setWithObjects: @" 1" , nil ]];
200202}
201203
202204- (void ) test_different_priorities_with_missing_values
0 commit comments