Description
Describe the bug
A pre-populated sqlite3 db "orm.sqlite3" is included as part of this repo.
Removing this file causes many tests (50+) to fail.
Recreating the file with touch orm.sqlite3
or sqlite3 orm.sqlite3 ".databases"
and then running the tests makes no difference
As this file is ONLY used in tests (via the "dev" connection) it should be initialised as part of the make init
process.
Any minimum setup (migrations) for the tests should also be done during make init
To Reproduce
Steps to reproduce the behavior:
- clone this repo
- cd to its folder
- setup the python environment
rm orm.sqlite3
make init
make test
- see many test failures
Expected behavior
make init
should setup the test environment to a base level including initialisation of any requirements only used in testing.
Screenshots or code snippets
N/A
Desktop (please complete the following information):
- OS: Mac OSX
- Version: Monterey 12.7
What database are you using?
- Type: sqlite3
- Version NA
- Masonite ORM: 2.x
Additional context
NA