Update dependency orchestra/testbench to v9 #17
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.0
->^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.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.