Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 9, 2024
1 parent 6197093 commit 33cbfa5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
namespace Native\Electron\Tests;

use Illuminate\Support\Facades\Artisan;
use Orchestra\Testbench\Attributes\WithConfig;
use Orchestra\Testbench\Concerns\WithWorkbench;
use Orchestra\Testbench\TestCase as Orchestra;

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

Artisan::call('native:install', ['--force' => true]);
}

public function defineEnvironment($app)
{
tap($app->make('config'), function ($config) {
$config->set('database.default', 'testing');
});
}
}

0 comments on commit 33cbfa5

Please sign in to comment.