8000 Fix broken firestore test · johnmanong/python-docs-samples@53166ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 53166ef

Browse files
author
Jon Wayne Parrott
committed
Fix broken firestore test
Change-Id: I620d72fc4a3d152636169fcb1e8b027a2bfd979e
1 parent 224285b commit 53166ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firestore/cloud-client/snippets_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ def test_update_multiple():
114114
snippets.update_multiple()
115115

116116

117-
def test_update_server_timestamp():
117+
def test_update_server_timestamp(db):
118+
db.collection(u'objects').document(u'some-id').set({'timestamp': 0})
118119
snippets.update_server_timestamp()
119120

120121

0 commit comments

Comments
 (0)
0