chore(deps): update dependency orchestra/testbench to v9 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.13
->^9.0
Release Notes
orchestral/testbench (orchestra/testbench)
v9.5.2
Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()
exists and returnfalse
.v9.5.1
Compare Source
Changes
Testbench Changes
Changes
SIGHUP
,SIGUSR1
, andSIGUSR2
signals via Testbench CLI.config/concurrency.php
configuration file.Fixes
serve
command to reset published.env
andtestbench.yaml
.v9.5.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresDatabase
attribute class.markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
.Orchestra\Testbench\default_migration_path()
helper function.Orchestra\Testbench\laravel_vendor_exists()
helper function.Changes
vendor
symlink directory if it was created while running tests.Fixes
view.paths
configuration not being updated to includeworkbench/resources/views
due to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path()
, usedefault_migration_path()
instead.New Contributors
v9.4.0
Compare Source
Changes
Testbench Changes
Added
artisan
binary to Laravel skeleton.Orchestra\Testbench\join_paths()
function.Orchestra\Testbench\Attributes\UsesVendor
attribute class.defineStashRoutes()
method to register adhoc route for test.Changes
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.v9.3.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files.Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.v9.2.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes.workbench/app/Console/Commands
.Changes
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
.workbench
as default environment value.Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95Fixes
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.v9.1.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.Orchestra\Testbench\Console\Kernel
andOrchestra\Testbench\Foundation\Console\Kernel
unable to discover commands.v9.1.1
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.v9.1.0
Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
.Fixes
v9.0.4
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
.TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.workbench
environment variable when Testbench CLI is used outside of testing.Fixes
serve
command.runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.v9.0.3
Compare Source
Changes
11.1.0
.Testbench Changes
Changes
HASH_VERIFY
environment variables.Fixes
RefreshDatabaseState
when usingLazilyRefreshDatabase
with SQLite:in-memory:
database connections.v9.0.2
Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.v9.0.1
Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method.RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
.utf8mb4_unicode_ci
.Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method.RefreshDatabase
usage does not reset the database migrations between tests.class_implements()
should only be executed if the Attribute class exists.bootstrap/app.php
when configured using a custom skeleton.v9.0.0
Compare Source
Added
Changes
Deprecated
Orchestra\Testbench\Concerns\HandlesAnnotations
in line with PHPUnit removal support for meta-comment support using annotation.Removed
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.create-sqlite-db
anddrop-sqlite-db
standalone commands.v8.27.2
Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()
exists and returnfalse
.v8.27.1
Compare Source
Changes
Testbench Changes
Changes
SIGHUP
,SIGUSR1
, andSIGUSR2
signals via Testbench CLI.Fixes
serve
command to reset published.env
andtestbench.yaml
.v8.27.0
Compare Source
Changes
Testbench Changes
Added
markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
.Orchestra\Testbench\default_migration_path()
helper function.Orchestra\Testbench\laravel_vendor_exists()
helper function.Changes
vendor
symlink directory if it was created while running tests.Fixes
view.paths
configuration not being updated to includeworkbench/resources/views
due to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path()
, usedefault_migration_path()
instead.New Contributors
v8.26.0
Compare Source
Changes
Testbench Changes
Added
artisan
binary to Laravel skeleton.Orchestra\Testbench\join_paths()
function.Orchestra\Testbench\Attributes\UsesVendor
attribute class.defineStashRoutes()
method to register adhoc route for test.Changes
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.v8.25.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files.Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.v8.24.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes.workbench/app/Console/Commands
.Changes
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
.workbench
as default environment value.Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95Fixes
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.v8.23.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.v8.23.1
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.v8.23.0
Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
.Fixes
v8.22.3
Compare Source
Changes
Testbench Changes
Fixes
Changes
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
.TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.workbench
environment variable when Testbench CLI is used outside of testing.Fixes
serve
command.runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.v8.22.2
Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.v8.22.1
Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method.RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
.Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method.RefreshDatabase
usage does not reset the database migrations between tests.class_implements(): Class AllowDynamicProperties does not exist and could not be loaded
error on PHP 8.1 and lower.v8.22.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute.Orchestra\Testbench\Foundation\Env::has()
method.Orchestra\Testbench\load_migration_paths()
function.Orchestra\Testbench\once()
function.usesRefreshDatabaseTestingConcern()
helper method toOrchestra\Testbench\Concerns\InteractsWithTestCase
trait.Changes
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values.$command
toOrchestra\Testbench\remote()
function usingarray
instead of juststring
.Orchestra\Testbench\default_skeleton_path()
Orchestra\Testbench\package_path()
Orchestra\Testbench\workbench_path()
Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute declaration to onlyAttribute::TARGET_CLASS
.v8.21.1
Compare Source
Changes
Testbench Changes
Changes
Fixes
$router->getRoutes()->refreshActionLookups()
caused tests to fail.v8.21.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
.Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
v8.20.0
Compare Source
Changes
laravel/framework
to10.40.0
.Testbench Changes
Added
Orchestra\Testbench\Bootstrap\HandleExceptions::forgetApp()
for PHPUnit 10.Changes
route:cache
usingOrchestra\Testbench\remote
function.setUpTheTestEnvironmentTraitToBeIgnored
method:Orchestra\Testbench\Concerns\InteractsWithPest
Orchestra\Testbench\Concerns\InteractsWithTestCase
v8.19.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait.LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables.Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
Changes
laravel/framework
to10.39.0
.Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.Illuminate\Filesystem\join_paths
function.Deprecated
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.v8.18.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test.Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test.Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test.set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.orchestra/pest-plugin-testbench
.v8.17.0
Compare Source
Changes
Testbench Changes
Added
discovers.components
configuration.Changes
view.paths
configuration when Workbench discover views.v8.16.0
Compare Source
Changes
Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute to force refreshing database before executing the test.Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.encode()
method toOrchestra\Testbench\Foundation\Env
class.Changes
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.#[Override]
attribute to relevant methods, this requiresymfony/polyfill-php83
as backward compatibility for PHP 8.1 and 8.2.$setupHasRun
property toOrchestra\Testbench\Concerns\ApplicationTestingHooks
.Fixes
Deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.v8.15.0
Compare Source
Changes
Testbench Changes
Added
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
.Orchestra\Testbench\defined_environment_variables()
function.Orchestra\Testbench\laravel_migration_path()
function.Orchestra\Testbench\remote()
function.Changes
@api
:Orchestra\Testbench\Foundation\Application
Orchestra\Testbench\Foundation\Config
Orchestra\Testbench\Foundation\Env
Orchestra\Testbench\PHPUnit\AttributeParser
.v8.14.1
Compare Source
Changes
v8.14.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench
to handle integrations with Workbench.Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()
method.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\Foundation\Application
:make()
makeFromConfig()
createFromConfig()
@define-env
and@environment-setup
will be replaced withOrchestra\Testbench\Attributes\DefineEnvironment
.@define-db
will be replaced withOrchestra\Testbench\Attributes\DefineDatabase
.@define-route
will be replaced withOrchestra\Testbench\Attributes\DefineRoute
.Fixes
Orchestra\Testbench\package_path()
andOrchestra\Testbench\workbench_path()
.Deprecated
Orchestra\Testbench\Concerns\WithFactories
.Removed
Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench
, useOrchestra\Testbench\Workbench\Workbench::start()
orOrchestra\Testbench\Workbench\Workbench::startWithProviders()
instead.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.