We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2669b3f commit 532a1d6Copy full SHA for 532a1d6
firebase-firestore/src/test/java/com/google/firebase/firestore/UserDataWriterTest.java
@@ -161,7 +161,8 @@ public void testConvertsDateValue() {
161
Value value = wrap(d);
162
assertValueType(Value.ValueTypeCase.TIMESTAMP_VALUE, value);
163
Object convertedValue = dateWriter.convertValue(value);
164
- assertEquals(d, convertedValue);
+ assertTrue(convertedValue instanceof Timestamp);
165
+ assertEquals(d, ((Timestamp)convertedValue).toDate());
166
}
167
168
0 commit comments