Skip to content

Commit 15548c5

Browse files
committed
“ Walk as if you are kissing the Earth with your feet. ”
— Thich Nhat Hanh
1 parent 94e228a commit 15548c5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Commands/EcowCommand.php

-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class EcowCommand extends Command
2828

2929
public function handle(): int
3030
{
31-
32-
dd(config('database.connections'), config('database.default'));
3331
$this->repository = app('migration.repository');
3432

3533
if ($this->option('database')) {

tests/Pest.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Artisan;
43
use Inmanturbo\Ecow\Tests\TestCase;
54

65
uses(TestCase::class)->in(__DIR__);
76

87
uses()
98
->beforeEach(function () {
10-
Artisan::call('ecow:migrate');
9+
$this->artisan('ecow:migrate', ['--database' => 'testing'])->assertExitCode(0);
1110
})
1211
->in('Feature');

0 commit comments

Comments
 (0)