Changes
- Update minimum support for Testbench Core v6.43.0+. (v6.42.0...v6.43.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Attributes\ResetRefreshDatabase
attribute to force refreshing database before executing the test. - Added
Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.
Changes
- Refactor handling attributes:
- Add ability to handle actions directly from the attribute.
- Add ability to set
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.
Deprecated
- Deprecate
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.