Skip to content

Commit 33cbfa5

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 6197093 commit 33cbfa5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/TestCase.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
namespace Native\Electron\Tests;
44

55
use Illuminate\Support\Facades\Artisan;
6+
use Orchestra\Testbench\Attributes\WithConfig;
67
use Orchestra\Testbench\Concerns\WithWorkbench;
78
use Orchestra\Testbench\TestCase as Orchestra;
89

10+
#[WithConfig('database.default', 'testing')]
911
class TestCase extends Orchestra
1012
{
1113
use WithWorkbench;
@@ -16,11 +18,4 @@ protected function setUp(): void
1618

1719
Artisan::call('native:install', ['--force' => true]);
1820
}
19-
20-
public function defineEnvironment($app)
21-
{
22-
tap($app->make('config'), function ($config) {
23-
$config->set('database.default', 'testing');
24-
});
25-
}
2621
}

0 commit comments

Comments
 (0)