Commit 8ade29e
committed
firestore: test: fix ServerTimestampTest.java that was accidentally broken by #6235
The test failure fixed by this PR is:
```
com.google.firebase.firestore.ServerTimestampTest > testPOJOWithWrongType[emulator-5554 - 12] FAILED
org.junit.ComparisonFailure: expected:<...ring instead of Date[ or Timestamp].> but was:<...ring instead of Date[, Timestamp, or Instant].>
at org.junit.Assert.assertEquals(Assert.java:117)
```
It simply updates the expected exception message as follows:
```
- "java.lang.String instead of Date or Timestamp.",
+ "java.lang.String instead of Date, Timestamp, or Instant.",
```1 parent c011f83 commit 8ade29e
File tree
1 file changed
+1
-1
lines changed- firebase-firestore/src/androidTest/java/com/google/firebase/firestore
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
0 commit comments