luisjg / database-test-switching

This is a sample repo that illustrates how to configure Laravel to tell PHPUnit to test against a smaller local database while still using the real database when the application is being served.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database test switching

A sample Laravel project set-up to switch database when on test mode vs app mode.

About

This is a sample repo that illustrates how to configure Laravel to tell PHPUnit to test against a smaller local database while still using the real database when the application is being served.

License:MIT License


Languages

Language:PHP 96.2%Language:HTML 3.1%Language:Vue 0.6%