Skip to content

Commit

Permalink
fix testSyncErrorHandlerErrorDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire authored Jun 21, 2021
2 parents 6762eab + 357d713 commit 5ad5cc0
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 5ad5cc0

Please sign in to comment.