Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcard committed Apr 21, 2016
1 parent 977f321 commit 001b52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ARTRealtimePresenceHistoryTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ - (void)runTestLimit:(int)limit forwards:(bool)forwards callback:(void (^)(ARTPa
ARTRealtime *realtime = [[ARTRealtime alloc] initWithOptions:options];
ARTRealtimeChannel *channel = [realtime.channels get:[self channelName]];
[channel attach];
[channel once:ARTRealtimeChannelAttached callback:^(ARTErrorInfo *errorInfo) {
[channel once:ARTChannelEventAttached callback:^(ARTErrorInfo *errorInfo) {
[channel.presence enter:[self enter1Str] callback:^(ARTErrorInfo *errorInfo) {
XCTAssertNil(errorInfo);
//second enter gets treated as an update.
Expand Down

0 comments on commit 001b52f

Please sign in to comment.