We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e228a commit 15548c5Copy full SHA for 15548c5
src/Commands/EcowCommand.php
@@ -28,8 +28,6 @@ class EcowCommand extends Command
28
29
public function handle(): int
30
{
31
-
32
- dd(config('database.connections'), config('database.default'));
33
$this->repository = app('migration.repository');
34
35
if ($this->option('database')) {
tests/Pest.php
@@ -1,12 +1,11 @@
1
<?php
2
3
-use Illuminate\Support\Facades\Artisan;
4
use Inmanturbo\Ecow\Tests\TestCase;
5
6
uses(TestCase::class)->in(__DIR__);
7
8
uses()
9
->beforeEach(function () {
10
- Artisan::call('ecow:migrate');
+ $this->artisan('ecow:migrate', ['--database' => 'testing'])->assertExitCode(0);
11
})
12
->in('Feature');
0 commit comments