Issue:
The initial database migration lacks the necessary data for effective test case execution. As a result, running tests on a freshly migrated database will fail initially. Additionally, subsequent tests that modify data in the database will also fail, as they rely on predefined values for comparison.
Impact:
Test Failure on Fresh Migration: Upon deploying the application with a fresh migration, test cases will fail due to missing or incomplete data in the database.
Failure in Subsequent Tests: Tests that modify data in the database will fail due to discrepancies between the expected and actual database states.
Issue: The initial database migration lacks the necessary data for effective test case execution. As a result, running tests on a freshly migrated database will fail initially. Additionally, subsequent tests that modify data in the database will also fail, as they rely on predefined values for comparison. Impact: Test Failure on Fresh Migration: Upon deploying the application with a fresh migration, test cases will fail due to missing or incomplete data in the database. Failure in Subsequent Tests: Tests that modify data in the database will fail due to discrepancies between the expected and actual database states.
Related File: sql_test.py sql_test.py
Screenshot of Initial DB Migration![image](https://github.com/fylein/fyle-interview-intern-backend/assets/77755081/27cb5b4e-c9fd-42d7-8fa0-75c3113b891b)