diff options
author | Sam Light <samlight1994@gmail.com> | 2025-01-18 20:17:47 +0000 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-01-18 20:17:47 +0000 |
commit | eb5c48b58d72d04abb093fceb32db842ec7ab5fb (patch) | |
tree | 4cf40914cba238a46dbb99c36d83e2dfb4efc3e0 /workbench/bootstrap | |
parent | 7ae6611fbcee86e6dae9890c27da329fa036717f (diff) |
Setup testing
Diffstat (limited to 'workbench/bootstrap')
-rw-r--r-- | workbench/bootstrap/app.php | 19 | ||||
-rw-r--r-- | workbench/bootstrap/providers.php | 5 |
2 files changed, 24 insertions, 0 deletions
diff --git a/workbench/bootstrap/app.php b/workbench/bootstrap/app.php new file mode 100644 index 0000000..6ead72a --- /dev/null +++ b/workbench/bootstrap/app.php @@ -0,0 +1,19 @@ +<?php + +use Illuminate\Foundation\Application; +use Illuminate\Foundation\Configuration\Exceptions; +use Illuminate\Foundation\Configuration\Middleware; + +use function Orchestra\Testbench\default_skeleton_path; + +return Application::configure(basePath: $APP_BASE_PATH ?? default_skeleton_path()) + ->withRouting( + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', + ) + ->withMiddleware(function (Middleware $middleware) { + // + }) + ->withExceptions(function (Exceptions $exceptions) { + // + })->create(); diff --git a/workbench/bootstrap/providers.php b/workbench/bootstrap/providers.php new file mode 100644 index 0000000..3ac44ad --- /dev/null +++ b/workbench/bootstrap/providers.php @@ -0,0 +1,5 @@ +<?php + +return [ + // +]; |