Skip to content

Commit 45c7279

Browse files
committed
Unbreak InstallationIdStore tests.
1 parent 4b0c572 commit 45c7279

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Unit/InstallationIdentifierUnitTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ - (void)testCachedInstallationId {
7575

7676
- (void)testInstallationIdentifierThreadSafe {
7777
PFInstallationIdentifierStore *store = [Parse _currentManager].installationIdentifierStore;
78-
[store clearInstallationIdentifier];
78+
[[store clearInstallationIdentifierAsync] waitForResult:nil];
7979
dispatch_apply(100, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^(size_t iteration) {
80-
[store installationIdentifier];
81-
[store clearInstallationIdentifier];
80+
[store getInstallationIdentifierAsync];
81+
[store clearInstallationIdentifierAsync];
8282
});
8383
}
8484

0 commit comments

Comments
 (0)