Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed Oct 31, 2024
1 parent 7082b60 commit 7933c5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
->extend('toBeSameModel', fn (Model $model) => $this->is($model)->toBeTrue());

beforeEach(function () {
// Fake instances
\Illuminate\Support\Facades\Bus::fake();
\Illuminate\Support\Facades\Mail::fake();
\Illuminate\Support\Facades\Notification::fake();
Expand Down
2 changes: 0 additions & 2 deletions tests/src/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;

class Post extends Model
{
use HasFactory;
use SoftDeletes;

protected $guarded = [];

Expand Down
2 changes: 2 additions & 0 deletions tests/src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ protected function setUp(): void

protected function getEnvironmentSetUp($app)
{
$app['config']->set('broadcasting.default', 'log');

$app['config']->set('cache.default', 'file');

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

0 comments on commit 7933c5b

Please sign in to comment.