Skip to content

Commit 5645fe8

Browse files
Fixing one more test to use the firestore mock client
1 parent fbd16eb commit 5645fe8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unittests/memory/test_firestore_memory_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def mock_firestore_client():
4040
return client
4141

4242

43-
def test_extract_keywords():
44-
service = FirestoreMemoryService()
43+
def test_extract_keywords(mock_firestore_client):
44+
service = FirestoreMemoryService(client=mock_firestore_client)
4545
text = "The quick brown fox jumps over the lazy dog."
4646
keywords = service._extract_keywords(text)
4747

0 commit comments

Comments
 (0)