Skip to content

Commit d924771

Browse files
authored
Fix FSTTimerID strings in spec tests to match constants used in web. (#953)
1 parent 87e511d commit d924771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firestore/Example/Tests/SpecTests/FSTSpecTests.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,11 @@ - (void)doRunTimer:(NSString *)timer {
335335
timerID = FSTTimerIDAll;
336336
} else if ([timer isEqualToString:@"listen_stream_idle"]) {
337337
timerID = FSTTimerIDListenStreamIdle;
338-
} else if ([timer isEqualToString:@"listen_stream_connection"]) {
338+
} else if ([timer isEqualToString:@"listen_stream_connection_backoff"]) {
339339
timerID = FSTTimerIDListenStreamConnectionBackoff;
340340
} else if ([timer isEqualToString:@"write_stream_idle"]) {
341341
timerID = FSTTimerIDWriteStreamIdle;
342-
} else if ([timer isEqualToString:@"write_stream_connection"]) {
342+
} else if ([timer isEqualToString:@"write_stream_connection_backoff"]) {
343343
timerID = FSTTimerIDWriteStreamConnectionBackoff;
344344
} else if ([timer isEqualToString:@"online_state_timeout"]) {
345345
timerID = FSTTimerIDOnlineStateTimeout;

0 commit comments

Comments
 (0)