Skip to content

Commit c11a478

Browse files
authored
Fix Firestore Android test (#1087)
1 parent 63eedac commit c11a478

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

firestore/testapp/Assets/Firebase/Sample/Firestore/UIHandlerAutomated.cs

-8
Original file line numberDiff line numberDiff line change
@@ -4253,15 +4253,7 @@ Task TestDocumentSnapshotEqualsAndGetHashCode() {
42534253
AssertEq(snapshot1.Equals(snapshot3), false);
42544254
AssertEq(snapshot1.Equals(null), false);
42554255

4256-
// Note: snapshot3 is not equal to snapshot4 as snapshot3 has `DocumentState` of
4257-
// `kHasCommittedMutations`, but snapshot4 has `DocumentState` of `kSynced`.
4258-
// TODO(b/204238341) Remove this #if once the Android and iOS implementations converge.
4259-
#if UNITY_ANDROID
4260-
AssertEq(snapshot3.Equals(snapshot4), false);
4261-
#else
42624256
AssertEq(snapshot3.Equals(snapshot4), true);
4263-
#endif
4264-
42654257
AssertEq(snapshot4.Equals(snapshot5), true);
42664258

42674259
AssertEq(snapshot1.GetHashCode(), snapshot1.GetHashCode());

0 commit comments

Comments
 (0)