Skip to content

Commit 2d91740

Browse files
authored
firestore: test: fix expected message in ServerTimestampTest.java to include "Instant" (#7436)
1 parent c011f83 commit 2d91740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ServerTimestampTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public void testPOJOWithWrongType() {
363363
} catch (IllegalArgumentException e) {
364364
assertEquals(
365365
"Field timestamp is annotated with @ServerTimestamp but is class "
366-
+ "java.lang.String instead of Date or Timestamp.",
366+
+ "java.lang.String instead of Date, Timestamp, or Instant.",
367367
e.getMessage());
368368
}
369369
}

0 commit comments

Comments
 (0)