File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Example/Database/Tests/Integration Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -54,24 +54,6 @@ - (void) testDatabaseForAppWithInvalidURLs {
54
54
}
55
55
56
56
- (void ) testDeleteDatabase {
57
- FIRDatabase *defaultDatabase = [FIRDatabase database ];
58
- FIRApp *defaultApp = [FIRApp defaultApp ];
59
- XCTAssertEqualObjects (defaultDatabase.app , defaultApp);
60
-
61
- // Set up expectation for the default app to be deleted.
62
- XCTestExpectation *defaultAppDeletedExpectation =
63
- [self expectationWithDescription: @" Deleting the default app should invalidate the default "
64
- @" database." ];
65
- [defaultApp deleteApp: ^(BOOL success) {
66
- // Deleting the default app should make the default database unavailable.
67
- XCTAssertThrows ([FIRDatabase database ]);
68
-
69
- [defaultAppDeletedExpectation fulfill ];
70
- }];
71
-
72
- // Wait for the default app to be deleted.
73
- [self waitForExpectations: @[defaultAppDeletedExpectation] timeout: 2 ];
74
-
75
57
// Set up a custom FIRApp with a custom database based on it.
76
58
FIROptions *options = [[FIROptions alloc ] initWithGoogleAppID: @" 1:123:ios:123abc"
77
59
GCMSenderID: @" gcm_sender_id" ];
You can’t perform that action at this time.
0 commit comments