File tree Expand file tree Collapse file tree 5 files changed +15
-30
lines changed Expand file tree Collapse file tree 5 files changed +15
-30
lines changed Original file line number Diff line number Diff line change 1212 "google/cloud-scheduler" : " ^1.6" ,
1313 "phpseclib/phpseclib" : " ^3.0" ,
1414 "google/auth" : " ^v1.29.1" ,
15- "laravel/framework" : " ^10.0|^11.0"
15+ "laravel/framework" : " 10.*" ,
16+ "orchestra/testbench" : " 8.*" ,
17+ "nunomaduro/collision" : " 7.*"
1618 },
1719 "require-dev" : {
1820 "mockery/mockery" : " ^1.5" ,
19- "orchestra/testbench" : " ^8.0|^9.0" ,
20- "nunomaduro/collision" : " ^7.0|^8.0" ,
2121 "laravel/pint" : " ^1.14"
2222 },
2323 "autoload" : {
4848 ],
4949 "clear" : " @php vendor/bin/testbench package:purge-skeleton --ansi" ,
5050 "prepare" : [
51- " @php vendor/bin/testbench package:discover --ansi"
51+ " @php vendor/bin/testbench package:discover --ansi" ,
52+ " @php use-package-kernel.php"
5253 ],
5354 "build" : " @php vendor/bin/testbench workbench:build --ansi" ,
5455 "serve" : [
Original file line number Diff line number Diff line change 11providers :
2- - Workbench\App\Providers\WorkbenchServiceProvider
32 - Stackkit\LaravelGoogleCloudScheduler\CloudSchedulerServiceProvider
43
54migrations :
Original file line number Diff line number Diff line change @@ -8,13 +8,6 @@ class TestCase extends \Orchestra\Testbench\TestCase
88{
99 use WithWorkbench;
1010
11- protected function getPackageProviders ($ app )
12- {
13- return [
14- \Stackkit \LaravelGoogleCloudScheduler \CloudSchedulerServiceProvider::class,
15- ];
16- }
17-
1811 protected function defineEnvironment ($ app )
1912 {
2013 if (! defined ('ARTISAN_BINARY ' )) {
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ file_put_contents (
4+ __DIR__ .'/vendor/orchestra/testbench-core/src/Console/Commander.php ' ,
5+ str_replace (
6+ 'use Illuminate\Contracts\Console\Kernel as ConsoleKernel ' ,
7+ 'use Workbench\App\Console\Kernel as ConsoleKernel ' ,
8+ file_get_contents (__DIR__ .'/vendor/orchestra/testbench-core/src/Console/Commander.php ' )
9+ )
10+ );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments