Skip to content

Commit 7933c5b

Browse files
committed
wip
1 parent 7082b60 commit 7933c5b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/Pest.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
->extend('toBeSameModel', fn (Model $model) => $this->is($model)->toBeTrue());
77

88
beforeEach(function () {
9-
// Fake instances
109
\Illuminate\Support\Facades\Bus::fake();
1110
\Illuminate\Support\Facades\Mail::fake();
1211
\Illuminate\Support\Facades\Notification::fake();

tests/src/Models/Post.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
use Illuminate\Database\Eloquent\Factories\HasFactory;
77
use Illuminate\Database\Eloquent\Model;
88
use Illuminate\Database\Eloquent\Relations\BelongsTo;
9-
use Illuminate\Database\Eloquent\SoftDeletes;
109

1110
class Post extends Model
1211
{
1312
use HasFactory;
14-
use SoftDeletes;
1513

1614
protected $guarded = [];
1715

tests/src/TestCase.php

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ protected function setUp(): void
2929

3030
protected function getEnvironmentSetUp($app)
3131
{
32+
$app['config']->set('broadcasting.default', 'log');
33+
3234
$app['config']->set('cache.default', 'file');
3335

3436
$app['config']->set('database.default', 'sqlite');

0 commit comments

Comments
 (0)