Commit 7933c5b 1 parent 7082b60 commit 7933c5b Copy full SHA for 7933c5b
File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 6
6
->extend ('toBeSameModel ' , fn (Model $ model ) => $ this ->is ($ model )->toBeTrue ());
7
7
8
8
beforeEach (function () {
9
- // Fake instances
10
9
\Illuminate \Support \Facades \Bus::fake ();
11
10
\Illuminate \Support \Facades \Mail::fake ();
12
11
\Illuminate \Support \Facades \Notification::fake ();
Original file line number Diff line number Diff line change 6
6
use Illuminate \Database \Eloquent \Factories \HasFactory ;
7
7
use Illuminate \Database \Eloquent \Model ;
8
8
use Illuminate \Database \Eloquent \Relations \BelongsTo ;
9
- use Illuminate \Database \Eloquent \SoftDeletes ;
10
9
11
10
class Post extends Model
12
11
{
13
12
use HasFactory;
14
- use SoftDeletes;
15
13
16
14
protected $ guarded = [];
17
15
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ protected function setUp(): void
29
29
30
30
protected function getEnvironmentSetUp ($ app )
31
31
{
32
+ $ app ['config ' ]->set ('broadcasting.default ' , 'log ' );
33
+
32
34
$ app ['config ' ]->set ('cache.default ' , 'file ' );
33
35
34
36
$ app ['config ' ]->set ('database.default ' , 'sqlite ' );
You can’t perform that action at this time.
0 commit comments