mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Fix Failing sqlite test
This commit is contained in:
parent
c63c17d49f
commit
89e50b94d3
|
@ -10,6 +10,7 @@ use Illuminate\Log\Events\MessageLogged;
|
|||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Illuminate\Testing\TestResponse;
|
||||
use PDOException;
|
||||
|
@ -220,7 +221,7 @@ class ShowSetUpPageTest extends TestCase
|
|||
|
||||
Http::fake([URL::to('.env') => fn () => throw new ConnectionException('Some curl error message.')]);
|
||||
|
||||
Event::fake();
|
||||
Log::setEventDispatcher(Event::fake());
|
||||
|
||||
$this->getSetUpPageResponse()->assertOk();
|
||||
|
||||
|
|
Loading…
Reference in a new issue