@@ -26,9 +26,7 @@ @interface FSTTransactionTests : FSTIntegrationTestCase
26
26
27
27
@implementation FSTTransactionTests
28
28
29
- // We currently require every document read to also be written.
30
- // TODO(b/34879758): Re-enable this test once we fix it.
31
- - (void )xtestGetDocuments {
29
+ - (void )testGetDocuments {
32
30
FIRFirestore *firestore = [self firestore ];
33
31
FIRDocumentReference *doc = [[firestore collectionWithPath: @" spaces" ] documentWithAutoID ];
34
32
[self writeDocumentRef: doc data: @{@" foo" : @1 , @" desc" : @" Stuff" , @" owner" : @" Jonny" }];
@@ -334,9 +332,7 @@ - (void)testUpdateTransactionally {
334
332
XCTAssertEqualObjects (@" yes" , snapshot[@" other" ]);
335
333
}
336
334
337
- // We currently require every document read to also be written.
338
- // TODO(b/34879758): Re-enable this test once we fix it.
339
- - (void )xtestHandleReadingOneDocAndWritingAnother {
335
+ - (void )testHandleReadingOneDocAndWritingAnother {
340
336
FIRFirestore *firestore = [self firestore ];
341
337
FIRDocumentReference *doc1 = [[firestore collectionWithPath: @" counters" ] documentWithAutoID ];
342
338
FIRDocumentReference *doc2 = [[firestore collectionWithPath: @" counters" ] documentWithAutoID ];
@@ -423,9 +419,7 @@ - (void)testReadingADocTwiceWithDifferentVersions {
423
419
XCTAssertEqualObjects (@(1234.0 ), snapshot[@" count" ]);
424
420
}
425
421
426
- // We currently require every document read to also be written.
427
- // TODO(b/34879758): Add this test back once we fix that.
428
- - (void )xtestCannotHaveAGetWithoutMutations {
422
+ - (void )testCannotHaveAGetWithoutMutations {
429
423
FIRFirestore *firestore = [self firestore ];
430
424
FIRDocumentReference *doc = [[firestore collectionWithPath: @" foo" ] documentWithAutoID ];
431
425
[self writeDocumentRef: doc data: @{@" foo" : @" bar" }];
@@ -438,6 +432,8 @@ - (void)xtestCannotHaveAGetWithoutMutations {
438
432
return nil ;
439
433
}
440
434
completion: ^(id _Nullable result, NSError *_Nullable error) {
435
+ // We currently require every document read to also be written.
436
+ // TODO(b/34879758): Fix this check once we drop that requirement.
441
437
XCTAssertNotNil (error);
442
438
[expectation fulfill ];
443
439
}];
0 commit comments