2025-06-29 08:50:03 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Tests;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
2025-08-10 01:26:56 +02:00
|
|
|
use Illuminate\Support\Facades\Http;
|
2025-06-29 08:50:03 +02:00
|
|
|
|
|
|
|
|
abstract class TestCase extends BaseTestCase
|
|
|
|
|
{
|
2025-08-02 03:48:06 +02:00
|
|
|
use CreatesApplication;
|
2025-08-10 01:26:56 +02:00
|
|
|
|
|
|
|
|
protected function setUp(): void
|
|
|
|
|
{
|
|
|
|
|
parent::setUp();
|
|
|
|
|
// Prevent any external HTTP requests during tests unless explicitly faked in a test
|
|
|
|
|
Http::preventStrayRequests();
|
|
|
|
|
}
|
2025-06-29 08:50:03 +02:00
|
|
|
}
|