18 lines
406 B
PHP
18 lines
406 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|
use Illuminate\Support\Facades\Http;
|
|
|
|
abstract class TestCase extends BaseTestCase
|
|
{
|
|
use CreatesApplication;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
// Prevent any external HTTP requests during tests unless explicitly faked in a test
|
|
Http::preventStrayRequests();
|
|
}
|
|
}
|