cakephp / app

CakePHP application template
370 stars 391 forks source link

Move tests.sqlite to tmp #934

Closed cleptric closed 1 year ago

cleptric commented 1 year ago

The test connection url defaults to env('DATABASE_TEST_URL', 'sqlite://127.0.0.1/tests.sqlite'), hence ignoring the generated SQLite file might be useful.

Moving the tests.sqlite into tmp/ by default, so it lives next to debug_kit.sqlite and is ignored by default.

dereuromark commented 1 year ago

Can't we just put it inside tmp/? Then we wouldnt need to clutter the root more.

cleptric commented 1 year ago

Yes, makes more sense.