Added in a test file to handle the authentication flow of the program (registering a user and ensuring that the same user can be successfully logged in and ensuring their details exist in the database).
Created a temporary database to verify if the user is correctly stored in the database
Created assertions to check for successful registration and login (verified using assertions to check whether the correct flash message appears)
Future Changes:
May incorporate some additional test functions to check for incorrect logins and to check whether the maximum login attempts functionality is working as intended
Added in a test file to handle the authentication flow of the program (registering a user and ensuring that the same user can be successfully logged in and ensuring their details exist in the database).
Future Changes: