-
Notifications
You must be signed in to change notification settings - Fork 10
Update dependency orchestra/testbench to v7.55.0 #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/orchestra-testbench-7.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f9ea57 to
9de4f5a
Compare
9de4f5a to
ee37bc6
Compare
ee37bc6 to
142f9a9
Compare
142f9a9 to
ddadde0
Compare
ddadde0 to
476fcaa
Compare
476fcaa to
0dad080
Compare
0dad080 to
2d652af
Compare
2d652af to
68d2463
Compare
7f22248 to
77abcad
Compare
77abcad to
1f10795
Compare
1f10795 to
d23c8d9
Compare
56df4c5 to
ea7ad20
Compare
ea7ad20 to
88611a6
Compare
88611a6 to
271d57a
Compare
271d57a to
a080a5c
Compare
a080a5c to
3643b17
Compare
3643b17 to
7ca268d
Compare
7ca268d to
f961928
Compare
f961928 to
ab56fdf
Compare
ab56fdf to
cc80a89
Compare
cc80a89 to
82edbe7
Compare
82edbe7 to
18f7e7e
Compare
39664b2 to
18f7e7e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.17.0->7.55.0Release Notes
orchestral/testbench (orchestra/testbench)
v7.55.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\PHPUnit\TestCasenow implementsOrchestra\Testbench\Concerns\InteractsWithMockery.v7.54.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remote()function to useOrchestra\Testbench\Foundation\Process\RemoteCommand.TESTBENCH_ENVIRONMENT_FILE_USINGtoTESTBENCH_ENVIRONMENT_FILE_USING(internal environment variable).workbench/bootstrap/providers.php.v7.53.0Compare Source
Changes
Testbench Changes
Added
resolvePhpUnitTestClassName()andresolvePhpUnitTestMethodName()toOrchestra\Testbench\Concerns\InteractsWithPHPUnittrait.Changes
usesTestingFeature()to register attribute directly on test method.vendordetection on the default skeleton.Orchestra\Sidekick\is_symlink()function instead ofis_link()to improves support on Windows.::classinstead ofget_class().vendorsymlink viapackage:purge-skeletoncommand.Fixes
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()method.v7.52.0Compare Source
Changes
Testbench Changes
Added
orchestra/sidekick.Illuminate\Foundation\Testing\Concerns\InteractsWithViews.Deprecated
getBasePath()method pending removal in Testbench 10.0.v7.51.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\CreatesApplication::resolveApplicationFacades()method.Orchestra\Testbench\Concerns\CreatesApplication::getApplicationBasePath()method as replacement toOrchestra\Testbench\Concerns\CreatesApplication::getBasePath().Orchestra\Testbench\Foundation\Application::deleteVendorSymlink()method.Changes
discover.factories.vendorsymlink when terminating Testbench CLI.v7.50.0Compare Source
Changes
Testbench Changes
Added
Changes
Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()to flush cached namespaces and classes during installation.realpath()onvendor:publishoutput.v7.49.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\transform_realpath_to_relative()function.vendor:publishcommand.Changes
$forceparameter toOrchestra\Testbench\Workbench\Workbench::detectNamespace()method.v7.48.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench::detectNamespace()method.Orchestra\Testbench\Workbench\Workbench::applicationUserModel()method.workbench.authconfig totrue.package:sync-skeletoncommand.Changes
Orchestra\Testbench\Bootstrap\LoadConfigurationandOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbenchto allow being extended by Testbench Dusk.Orchestra\Testbench\Console\Commander.$ttyparameter toOrchestra\Testbench\remote()function.Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlinkclass and mark it as@api.$backupExistingFileand$resetOnTerminatingparameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFilestrait:copyTestbenchConfigurationFile()copyTestbenchDotEnvFile()Deprecated
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsoletrait, useOrchestra\Testbench\Foundation\Console\TerminatingConsoleclass instead.v7.47.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlinkclass.Orchestra\Testbench\Concerns\InteractsWithMockerytrait.--databaseoption topackage:create-sqlite-dbcommand.--databaseand--alloptions topackage:drop-sqlite-dbcommand.Orchestra\Testbench\php_binary()function.Changes
resolveApplicationResolvingCallback()method visibility fromprivatetoprotected.package:create-sqlite-db.PHP_CLI_SERVER_WORKERSvia Composer Script.CTRL+CandCTRL+BREAKsupports on Windows withoutpcntlextension.Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileshould be able to handle$fromand$towhen given asfalseornull.v7.46.2Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()exists and returnfalse.v7.46.1Compare Source
Changes
Testbench Changes
Changes
SIGHUP,SIGUSR1, andSIGUSR2signals via Testbench CLI.Fixes
servecommand to reset published.envandtestbench.yaml.v7.46.0Compare 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
vendorsymlink directory if it was created while running tests.Fixes
view.pathsconfiguration not being updated to includeworkbench/resources/viewsdue to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path(), usedefault_migration_path()instead.New Contributors
v7.45.0Compare Source
Changes
Testbench Changes
Added
artisanbinary to Laravel skeleton.Orchestra\Testbench\join_paths()function.Orchestra\Testbench\Attributes\UsesVendorattribute class.defineStashRoutes()method to register adhoc route for test.Changes
afterApplicationCreated(),afterApplicationRefreshed(), andbeforeApplicationDestroyed()methods visibility fromprotectedtopublic.Orchestra\Testbench\default_skeleton_path(),Orchestra\Testbench\package_path(), andOrchestra\Testbench\workbench_path()usage based on newOrchestra\Testbench\join_paths()function.v7.44.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileto remove.gitkeepfile when directory contain one or more files.Fixes
InteractsWithPublishedFilesshould only flush published files withindatabase/migrationsdirectory.v7.43.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravelOrchestra\Testbench\Attributes\UsesFrameworkConfigurationfactoriesusing Workbench to mapWorkbench\App\ModelstoWorkbench\Database\Factoriesclasses.workbench/app/Console/Commands.Changes
JsonSerializabletoOrchestra\Testbench\Foundation\UndefinedValue.workbenchas default environment value.Orchestra\Testbench\Attributes\DefineandOrchestra\Testbench\Attributes\DefineEnvironmentto be used on the class level by @danjohnson95Fixes
usesTestingFeature()attribute registration is loaded before class attributes instead of method attributes.v7.42.2Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()usage to detectWorkbench\App\Exceptions\Handlerclass.v7.42.1Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()function instead ofTESTBENCH_WORKING_PATHconstant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravelattribute usage.v7.42.0Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATHfrom environment variable before fallback togetcwd().Fixes
v7.41.3Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remoteto accept$envwith eitherarrayorstring.TESTBENCH_PACKAGE_REMOTE=truewhen running command usingOrchestra\Testbench\remote.v7.41.2Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabaseto be executed ontearDown()only limited when ad-hoc migrations was added during test.v7.41.1Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseStateviatearDownTheTestEnvironmentUsingTestCase()method.RefreshDatabaseState::$migratedandRefreshDatabaseState::$lazilyRefreshedbefore loading migration paths to the instance ofmigrator.Fixes
beforeApplicationDestroyed()usage onloadLaravelMigrations()method.RefreshDatabaseusage does not reset the database migrations between tests.class_implements(): Class AllowDynamicProperties does not exist and could not be loadederror on PHP 8.1 and lower.v7.41.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresLaravelattribute.Orchestra\Testbench\Foundation\Env::has()method.Orchestra\Testbench\once()function.Orchestra\Testbench\load_migration_paths()function.usesRefreshDatabaseTestingConcern()helper method toOrchestra\Testbench\Concerns\InteractsWithTestCasetrait.Changes
MYSQL_*,MSSQL_*,SQLITE_*andPOSTGRES_*environment variables before trying to override the configuration values.$commandtoOrchestra\Testbench\remote()function usingarrayinstead of juststring.Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseStateattribute declaration to onlyAttribute::TARGET_CLASS.v7.40.1Compare Source
Changes
Testbench Changes
Changes
Fixes
$router->getRoutes()->refreshActionLookups()caused tests to fail.v7.40.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\WithImmutableDatesattribute to forceIlluminate\Support\Dateto useCarbon\CarbonImmutable.Orchestra\Testbench\default_skeleton_pathOrchestra\Testbench\refresh_router_lookupsv7.39.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Features\TestingFeatureas replacement toHandlesTestingFeaturetrait.LOG_DEPRECATIONS_WHILE_TESTING(default totrue) environment variables.Orchestra\Testbench\Contracts\Attributes\AfterAllOrchestra\Testbench\Contracts\Attributes\AfterEachOrchestra\Testbench\Contracts\Attributes\BeforeAllOrchestra\Testbench\Contracts\Attributes\BeforeEachChanges
Orchestra\Testbench\Concerns\InteractsWithPHPUnit.Deprecated
Orchestra\Testbench\Concerns\HandlesTestingFeaturetrait.v7.38.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresEnvattribute to force an environment variables to be required for the test.Orchestra\Testbench\Attributes\WithConfigattribute add a configuration value for the test.Orchestra\Testbench\Attributes\WithEnvattribute add an environment variable value for the test.set()andforget()methods toOrchestra\Testbench\Foundation\Env.v7.37.0Compare Source
Changes
Testbench Changes
Added
discovers.componentsconfiguration.Changes
view.pathsconfiguration when Workbench discover views.v7.36.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseStateattribute to force refreshing database before executing the test.Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariablesbootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION,POSTGRES_COLLATIONandMSSQL_COLLATION.Changes
deferwhen usingOrchestra\Testbench\Attributes\DefineDatabase.Deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnectionstrait.v7.35.0Compare Source
Changes
Testbench Changes
Added
laravel,cache,notifications,queueandsessiondatabase 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\ApplicationOrchestra\Testbench\Foundation\ConfigOrchestra\Testbench\Foundation\EnvOrchestra\Testbench\PHPUnit\AttributeParser.v7.34.1Compare Source
Changes
v7.34.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbenchto handle integrations with Workbench.Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()method.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFiletrait.Orchestra\Testbench\Foundation\Application:make()makeFromConfig()createFromConfig()@define-envand@environment-setupwill be replaced withOrchestra\Testbench\Attributes\DefineEnvironment.@define-dbwill be replaced withOrchestra\Testbench\Attributes\DefineDatabase.@define-routewill 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.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariablesclass as@internal.v7.32.0Compare Source
Changes
Testbench Changes
Added Added
cachedConfigurationForWorkbench()toOrchestra\Testbench\Concern\InteractsWithWorkbenchtrait.TESTBENCH_WORKING_PATHfrom environment variables for Testbench Dusk usage.discoversconfiguration.usesSqliteInMemoryDatabaseConnectiontoOrchestra\Testbench\Concerns\HandlesDatabasestrait.v7.31.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPublishedFilestrait:assertMigrationFileExists.assertMigrationFileNotExists.Changes
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles::$filesproperty.assertMigrationFileContainsandassertMigrationFileNotContainsfromOrchestra\Testbench\Concerns\InteractsWithPublishedFilestrait.Orchestra\Testbench\Concerns\InteractsWithPublishedFilestrait:cleanUpFilestocleanUpPublishedFiles.cleanUpMigrationFilestocleanUpPublishedMigrationFiles.getMigrationFiletofindFirstPublishedMigrationFile.v7.30.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\WithLaravelMigrations.Orchestra\Testbench\Foundation\Console\Actions\DeleteFilesOrchestra\Testbench\Foundation\Console\Actions\DeleteDirectoriesOrchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExistsOrchestra\Testbench\Foundation\Console\Actions\GeneratesFilev7.29.1Compare Source
Changes
Testbench Changes
Changes
$modelproperty override when extendingOrchestra\Testbench\Factories\UserFactory.v7.29.0Compare Source
Changes
Testbench Changes
Added
workbench.welcomeconfiguration option.Changes
testbench.yamlconfiguration fallback similar to.env.Illuminate\Support\LazyCollection.Orchestra\Workbench\WorkbenchServiceProviderwhen applyingOrchestra\Testbench\Concerns\WithWorkbench.v7.28.2Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Concerns\WithWorkbench.v7.28.1Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Console\DevToolCommandfor integration compatibility.Changes
servecommand under Composer's script.v7.28.0Compare Source
Changes
Testbench Changes
Added
package:purge-skeletoncommand.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFiletrait.Orchestra\Testbench\package_path()function.orchestra/workbench.Changes
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbenchtoOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench.Fixes
servecommand usage.v7.27.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Events\ServeCommandStartedOrchestra\Testbench\Foundation\Events\ServeCommandEndedOrchestra\Testbench\Workbench\Events\WorkbenchInstallStartedOrchestra\Testbench\Workbench\Events\WorkbenchInstallEndedChanges
HandlesRoutesloading sequence to match common Laravel bootstrap steps.HandlesAnnotationsandInteractsWithPHPUnittraits.workbenchconfiguration schema.Fixes
Illuminate\Foundation\Application::runningUnitTests()detection.v7.26.2Compare Source
Changes
laravel/frameworkto9.52.15.Testbench Changes
Fixes
app()->environment()detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplicationoutside ofPHPUnit.Undefined array key "autoload-dev"when executingworkbench:installcommand.v7.26.1Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPHPUnitto handleCreatesApplicationwithin PHPUnit.Fixes
workbench.startpath when accessing the/route return 404.TESTBENCH_APP_BASE_PATHenvironment variable only when running under tests.v7.26.0Compare Source
Changes
Testbench Changes
Added
/_workbenchprefix.migrate:freshandmigrate:refreshOrchestra\Testbench\Contracts\Configto IoC Container and introduce the newOrchestra\Testbench\workbenchandOrchestra\Testbench\workbench_pathhelper function.workbench:install,workbench:create-sqlite-dbandworkbench:drop-sqlite-dbcommands.Orchestra\Testbench\Concerns\WithWorkbenchto automatically loads configuration fromtestbench.yamlwhen running tests.Deprecated
package:devtool,package:create-sqlite-dbandpackage:drop-sqlite-dbcommands.v7.25.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariablesto manage loading.envfile during tests, backport from Testbench Core 8 releases.Changes
laravel/frameworkto9.52.9.tearDownInteractsWithPublishedFiles()fromsetUpInteractsWithPublishedFiles()method.v7.24.1Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Foundation\Config::addProviders()usage.Orchestra\Testbench\transform_relative_path()logic.v7.24.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArrayclass to handle loading migrations fromtestbench.yaml.migrations: falseintestbench.yamlor 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
envconfiguration fromtestbench.yamlwith have higher priority thandefault_environment_variables().Dotenv\Repository\Adapter\PutenvAdapterwhen generating environment variable on the fly usingOrchestra\Testbench\Foundation\Application.Fixes
APP_KEY,APP_DEBUGetc.v7.23.0Compare Source
Changes
Testbench Changes
Added
setup<Concern>andteardown<Concern>with imported traits.v7.22.2Compare Source
Changes
Testbench Changes
Fixes
spatie/laravel-ray.v7.22.1Compare Source
Changes
v7.22.0Compare Source
Changes
Testbench Changes
Changes
package:test --parallelcommand usage.$app->bootstrapPath()instead of$app->basePath('bootstrap')whenever possible.v7.21.0Compare Source
Changes
Testbench Changes
Added
Illuminate\Foundation\Testing\DatabaseTruncation.Changes
laravel/frameworkto9.50.2.v7.20.0Compare Source
Changes
Testbench Changes
Changes
package:testcommands.v7.19.0Compare Source
Changes
Testbench Changes
Added
Illuminate\Foundation\Testing\InteractsWithDeprecationHandlingtoOrchestra\Testbench\TestCase.v7.18.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\laravel_version_comparefunction as alias toversion_comparespecifically for Laravel Framework.Orchestra\Testbench\phpunit_version_comparefunction as alias toversion_comparespecifically for PHPUnit.Orchestra\Testbench\Exceptions\PHPUnitErrorExceptionclass.Changes
Orchestra\Testbench\Bootstrap\ConfigureRayclass asfinal.Orchestra\Testbench\Concerns\HandlesAnnotationstrait.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.