Skip to content

Commit

Permalink
fixed mongodb address in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KozyrevIvan committed Oct 4, 2024
1 parent 74fdff2 commit e34fa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_async_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Meta:
def database():
import asyncio

client: AsyncMongoClient = AsyncMongoClient("mongodb://root:example@0.0.0.0:27017")
client: AsyncMongoClient = AsyncMongoClient("mongodb://localhost:27017")
asyncio.run(client.drop_database("db"))

return client.db
Expand Down

0 comments on commit e34fa63

Please sign in to comment.