Changes
- Update minimum support for Testbench Core v5.10.0+. (v5.9.0...v5.10.0)
Testbench Changes
Added
- Added
defineEnvironment()
anddefineDatabaseMigrations()
method toOrchestra\Testbench\TestCase
.defineEnvironment()
usage is identical togetEnvironmentSetUp()
but the original function will remain functioning for now.- Use
defineDatabaseMigrations()
to load any database migrations for the tests. This will allows Testbench to loads it early on the test cycle before to avoid it being clashing usage withDatabaseTransactions
trait.
- Add support to read environment variable from
.env
on skeleton when it's available when used withtestbench
bin command.