aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests/Integration/FSTStreamTests.mm
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-02-22 08:12:54 -0800
committerGravatar GitHub <noreply@github.com>2018-02-22 08:12:54 -0800
commit935f3ca7d749f96c7207236a39c57f32a02c05d3 (patch)
tree94ac8094c8d10893f137325d5dc820e759dc6f90 /Firestore/Example/Tests/Integration/FSTStreamTests.mm
parent6ce954a791a73abc8d32765e2695ed153e120c47 (diff)
Avoid wrapping and rewrapping NSStrings when constructing DatabaseId (#833)
* Avoid wrapping and rewrapping NSStrings when constructing DatabaseId * Shorten DatabaseId::kDefaultDatabaseId
Diffstat (limited to 'Firestore/Example/Tests/Integration/FSTStreamTests.mm')
-rw-r--r--Firestore/Example/Tests/Integration/FSTStreamTests.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Example/Tests/Integration/FSTStreamTests.mm b/Firestore/Example/Tests/Integration/FSTStreamTests.mm
index cb967b1..9105b74 100644
--- a/Firestore/Example/Tests/Integration/FSTStreamTests.mm
+++ b/Firestore/Example/Tests/Integration/FSTStreamTests.mm
@@ -148,7 +148,7 @@ using firebase::firestore::model::DatabaseId;
FIRFirestoreSettings *settings = [FSTIntegrationTestCase settings];
DatabaseId database_id(util::MakeStringView([FSTIntegrationTestCase projectID]),
- DatabaseId::kDefaultDatabaseId);
+ DatabaseId::kDefault);
_testQueue = dispatch_queue_create("FSTStreamTestWorkerQueue", DISPATCH_QUEUE_SERIAL);
_workerDispatchQueue = [[FSTDispatchQueue alloc] initWithQueue:_testQueue];