Changes
- Update minimum support for Testbench Core v4.10.0+. (v4.9.0...v4.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.