Skip to content

Commit

Permalink
Added config parameters for MongoDB test in .env_sample
Browse files Browse the repository at this point in the history
  • Loading branch information
iduseev committed Apr 22, 2023
1 parent ef70683 commit 871e171
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .env_sample
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,13 @@ MONGODB_USER_COLLECTION_NAME = "users"
MONGODB_BOOK_SHELF_COLLECTION_NAME = "books"
MONGODB_USERNAME = "fake_user"
MONGODB_PASSWORD = "fake_password"

# ==== TEST MONGODB CONFIG ====
TEST_MONGODB_CONNECTION_STRING = "mongodb+srv://fake_user:[email protected]:27017/test"
TEST_MONGODB_HOST = "host.mongodb.net"
TEST_MONGODB_PORT = 27017
TEST_MONGODB_DB_NAME = "Test_FastAPI_Demo_Project"
TEST_MONGODB_USER_COLLECTION_NAME = "test_users"
TEST_MONGODB_BOOK_SHELF_COLLECTION_NAME = "test_books"
TEST_MONGODB_USERNAME = "test_fake_user"
TEST_MONGODB_PASSWORD = "test_fake_password"

0 comments on commit 871e171

Please sign in to comment.