8
8
*/
9
9
10
10
#import " PFInstallationIdentifierStore_Private.h"
11
- #import " PFTestCase .h"
11
+ #import " PFUnitTestCase .h"
12
12
#import " Parse_Private.h"
13
13
#import " BFTask+Private.h"
14
14
15
- @interface InstallationIdentifierUnitTests : PFTestCase
15
+ @interface InstallationIdentifierUnitTests : PFUnitTestCase
16
16
17
17
@end
18
18
19
19
@implementation InstallationIdentifierUnitTests
20
20
21
- // /--------------------------------------
22
- #pragma mark - XCTestCase
23
- // /--------------------------------------
24
-
25
- - (void )tearDown {
26
- [[Parse _currentManager ] clearEventuallyQueue ];
27
- [[[Parse _currentManager ].installationIdentifierStore clearInstallationIdentifierAsync ] waitForResult: nil ];
28
- [Parse _clearCurrentManager ];
29
-
30
- [super tearDown ];
31
- }
32
-
33
21
// /--------------------------------------
34
22
#pragma mark - Tests
35
23
// /--------------------------------------
36
24
37
25
- (void )testNewInstallationIdentifierIsLowercase {
38
- [Parse setApplicationId: @" b" clientKey: @" c" ];
39
26
PFInstallationIdentifierStore *store = [Parse _currentManager ].installationIdentifierStore ;
40
27
41
28
XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
@@ -51,7 +38,6 @@ - (void)testNewInstallationIdentifierIsLowercase {
51
38
}
52
39
53
40
- (void )testCachedInstallationId {
54
- [Parse setApplicationId: @" b" clientKey: @" c" ];
55
41
PFInstallationIdentifierStore *store = [Parse _currentManager ].installationIdentifierStore ;
56
42
57
43
[[store _clearCachedInstallationIdentifierAsync ] waitForResult: nil ];
0 commit comments