From 871e1710bbf4008b93168f5fdc68d5cbc5f1dc53 Mon Sep 17 00:00:00 2001 From: Ilgiz Duseev Date: Sat, 22 Apr 2023 14:41:05 +0600 Subject: [PATCH] Added config parameters for MongoDB test in .env_sample --- .env_sample | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.env_sample b/.env_sample index 527465c..79294d9 100644 --- a/.env_sample +++ b/.env_sample @@ -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:fake_password@host.mongodb.net: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"