File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def test_firestore_endpoint_handler_calls_function_with_correct_args(self):
22
22
with patch .dict ("sys.modules" , mocked_modules ):
23
23
from cloudevents .http import CloudEvent
24
24
from firebase_functions .firestore_fn import _event_type_created_with_auth_context as event_type , \
25
- _firestore_endpoint_handler as firestore_endpoint_handler , EventWithAuthContext
25
+ _firestore_endpoint_handler as firestore_endpoint_handler , AuthEvent
26
26
from firebase_functions .private import path_pattern
27
27
28
28
func = Mock (__name__ = "example_func" )
@@ -67,6 +67,6 @@ def test_firestore_endpoint_handler_calls_function_with_correct_args(self):
67
67
68
68
event = func .call_args .args [0 ]
69
69
self .assertIsNotNone (event )
70
- self .assertIsInstance (event , EventWithAuthContext )
70
+ self .assertIsInstance (event , AuthEvent )
71
71
self .assertEqual (event .auth_type , "unauthenticated" )
72
72
self .assertEqual (event .auth_id , "foo" )
You can’t perform that action at this time.
0 commit comments