aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Database
diff options
context:
space:
mode:
Diffstat (limited to 'Example/Database')
-rw-r--r--Example/Database/Tests/Integration/FIRDatabaseTests.m18
1 files changed, 0 insertions, 18 deletions
diff --git a/Example/Database/Tests/Integration/FIRDatabaseTests.m b/Example/Database/Tests/Integration/FIRDatabaseTests.m
index 4bdb773..0e1c57c 100644
--- a/Example/Database/Tests/Integration/FIRDatabaseTests.m
+++ b/Example/Database/Tests/Integration/FIRDatabaseTests.m
@@ -54,24 +54,6 @@ static const NSInteger kFErrorCodeWriteCanceled = 3;
}
- (void) testDeleteDatabase {
- FIRDatabase *defaultDatabase = [FIRDatabase database];
- FIRApp *defaultApp = [FIRApp defaultApp];
- XCTAssertEqualObjects(defaultDatabase.app, defaultApp);
-
- // Set up expectation for the default app to be deleted.
- XCTestExpectation *defaultAppDeletedExpectation =
- [self expectationWithDescription:@"Deleting the default app should invalidate the default "
- @"database."];
- [defaultApp deleteApp:^(BOOL success) {
- // Deleting the default app should make the default database unavailable.
- XCTAssertThrows([FIRDatabase database]);
-
- [defaultAppDeletedExpectation fulfill];
- }];
-
- // Wait for the default app to be deleted.
- [self waitForExpectations:@[defaultAppDeletedExpectation] timeout:2];
-
// Set up a custom FIRApp with a custom database based on it.
FIROptions *options = [[FIROptions alloc] initWithGoogleAppID:@"1:123:ios:123abc"
GCMSenderID:@"gcm_sender_id"];