@@ -333,7 +333,7 @@ def test_get_all(self):
333333 transaction = self ._make_one (client )
334334 ref1 , ref2 = mock .Mock (), mock .Mock ()
335335 result = transaction .get_all ([ref1 , ref2 ])
336- client .get_all .assert_called_once_with ([ref1 , ref2 ], transaction = transaction . id )
336+ client .get_all .assert_called_once_with ([ref1 , ref2 ], transaction = transaction )
337337 self .assertIs (result , client .get_all .return_value )
338338
339339 def test_get_document_ref (self ):
@@ -343,7 +343,7 @@ def test_get_document_ref(self):
343343 transaction = self ._make_one (client )
344344 ref = DocumentReference ("documents" , "doc-id" )
345345 result = transaction .get (ref )
346- client .get_all .assert_called_once_with ([ref ], transaction = transaction . id )
346+ client .get_all .assert_called_once_with ([ref ], transaction = transaction )
347347 self .assertIs (result , client .get_all .return_value )
348348
349349 def test_get_w_query (self ):
@@ -354,7 +354,7 @@ def test_get_w_query(self):
354354 query = Query (parent = mock .Mock (spec = []))
355355 query .stream = mock .MagicMock ()
356356 result = transaction .get (query )
357- query .stream .assert_called_once_with (transaction = transaction . id )
357+ query .stream .assert_called_once_with (transaction = transaction )
358358 self .assertIs (result , query .stream .return_value )
359359
360360 def test_get_failure (self ):
0 commit comments