We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6197093 commit 33cbfa5Copy full SHA for 33cbfa5
tests/TestCase.php
@@ -3,9 +3,11 @@
3
namespace Native\Electron\Tests;
4
5
use Illuminate\Support\Facades\Artisan;
6
+use Orchestra\Testbench\Attributes\WithConfig;
7
use Orchestra\Testbench\Concerns\WithWorkbench;
8
use Orchestra\Testbench\TestCase as Orchestra;
9
10
+#[WithConfig('database.default', 'testing')]
11
class TestCase extends Orchestra
12
{
13
use WithWorkbench;
@@ -16,11 +18,4 @@ protected function setUp(): void
16
18
17
19
Artisan::call('native:install', ['--force' => true]);
20
}
-
- public function defineEnvironment($app)
21
- {
22
- tap($app->make('config'), function ($config) {
23
- $config->set('database.default', 'testing');
24
- });
25
- }
26
0 commit comments