Skip to content

Commit

Permalink
Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Oct 8, 2024
1 parent 99806bb commit 012f958
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ class WriteBatchTest : BaseFirebaseFirestoreTest() {
)

val batch = firestore.batch()
batch.update(doc1) {
batch.updateFields(doc1) {
FirestoreTest::prop1.name to "prop1-updated"
FieldPath(FirestoreTest::optional.name) to "notNull"
FirestoreTest::duration.name.to(DurationAsIntSerializer(), 300.milliseconds)
FieldPath(FirestoreTest::nested.name).to(NestedObject.serializer(), NestedObject("nested"))
}
batch.update(doc2) {
batch.updateFields(doc2) {
FirestoreTest::prop1.name to "prop2-updated"
FieldPath(FirestoreTest::optional.name) to "alsoNotNull"
FirestoreTest::duration.name.to(DurationAsIntSerializer(), 200.milliseconds)
Expand Down

0 comments on commit 012f958

Please sign in to comment.