Skip to content

Commit

Permalink
fix testSyncErrorHandlerErrorDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed Jun 18, 2021
1 parent 0b5a3f4 commit 357d713
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Realm/ObjectServerTests/RLMObjectServerTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,10 @@ - (void)testSyncErrorHandlerErrorDomain {
[self manuallySetAccessTokenForUser:user value:[self badAccessToken]];
[self manuallySetRefreshTokenForUser:user value:[self badAccessToken]];

[self openRealmForPartitionValue:NSStringFromSelector(_cmd) user:user];
[self immediatelyOpenRealmForPartitionValue:NSStringFromSelector(_cmd)
user:user
encryptionKey:nil
stopPolicy:RLMSyncStopPolicyAfterChangesUploaded];

[self waitForExpectationsWithTimeout:10.0 handler:nil];
}
Expand Down

0 comments on commit 357d713

Please sign in to comment.