chore(deps): update dependency orchestra/testbench to v9
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
orchestra/testbench (source) |
^7.0|^8.0 -> 9.3.0
|
Release Notes
orchestral/testbench (orchestra/testbench)
v9.3.0
Changes
- Update minimum support for Testbench Core v9.3.0+. (v9.2.0...v9.3.0)
Testbench Changes
Changes
- Update
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files. - Code Improvements.
Fixes
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
v9.2.0
Changes
- Update minimum support for Testbench Core v9.2.0+. (v9.1.3...v9.2.0)
Testbench Changes
Added
- Added new attributes:
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
- Allows to discover
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes. - Allows to auto discover console command classes from
workbench/app/Console/Commands
.
Changes
- Bump minimum support to Laravel Framework v11.11.
- Implements
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
. - Update skeleton to use
workbench
as default environment value. - Allow
Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95
Fixes
- Ensure
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.
v9.1.2
Changes
- Update minimum support for Testbench Core v9.1.3+. (v9.1.2...v9.1.3)
Testbench Changes
Fixes
- Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class. - Fixes
Orchestra\Testbench\Console\Kernel
andOrchestra\Testbench\Foundation\Console\Kernel
unable to discover commands.
v9.1.1
Changes
- Update minimum support for Testbench Core v9.1.2+. (v9.1.0...v9.1.2)
Testbench Changes
Changes
- Utilise
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant. - Update configuration to match Laravel Framework v11.8.0.
Fixes
- Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.
v9.1.0
Changes
- Update minimum support for Testbench Core v9.1.0+. (v9.0.13...v9.1.0)
Testbench Changes
Changes
- Uses
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
. - PHPStan Improvements.
- Add support for PHPUnit 11.1.
- Update skeleton to match v11.0.7.
Fixes
- Fixes routing registration using macro with Workbench.
v9.0.4
Changes
- Update minimum support for Testbench Core v9.0.13+. (v9.0.9...v9.0.13)
Testbench Changes
Changes
- Allows
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
. - Includes
TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
. - Flush Static Improvements.
- Revert setting
workbench
environment variable when Testbench CLI is used outside of testing.
Fixes
- Fixes
serve
command. - Fixes
runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.
v9.0.3
Changes
- Update minimum support for Testbench Core v9.0.9+. (v9.0.7...v9.0.9)
- Update minimum support for Laravel Framework
11.1.0
.
Testbench Changes
Changes
- Add support for
HASH_VERIFY
environment variables.
Fixes
- Force reset
RefreshDatabaseState
when usingLazilyRefreshDatabase
with SQLite:in-memory:
database connections.
v9.0.2
Changes
- Update minimum support for Testbench Core v9.0.7+. (v9.0.6...v9.0.7)
Testbench Changes
Fixes
- Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.
v9.0.1
Changes
- Update minimum support for Testbench Core v9.0.6+. (v9.0.1...v9.0.6)
Testbench Changes
Changes
- Run
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method. - Check against
RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
. - Update skeleton to match v11.0.3.
- Revert default skeleton database collations to
utf8mb4_unicode_ci
.
Fixes
- Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method. - Fixes
RefreshDatabase
usage does not reset the database migrations between tests. - Fixes
class_implements()
should only be executed if the Attribute class exists. - Testbench CLI should prioritize application kernels defined via
bootstrap/app.php
when configured using a custom skeleton.
v9.0.0
Added
- Added support for PHPUnit 11.
Changes
- Update support for Laravel Framework v11.
- Increase minimum PHP version to 8.2 and above (tested with 8.2 and 8.3).
Deprecated
- Deprecate
Orchestra\Testbench\Concerns\HandlesAnnotations
in line with PHPUnit removal support for meta-comment support using annotation.
Removed
- Remove deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait. - Removed deprecated
create-sqlite-db
anddrop-sqlite-db
standalone commands.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.