23 lines
581 B
PHP
23 lines
581 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|
|
|
abstract class TestCase extends BaseTestCase
|
|
{
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
// The suite must not depend on a built manifest.
|
|
$this->withoutVite();
|
|
|
|
// Jobs that pin themselves to the provisioning connection bypass
|
|
// QUEUE_CONNECTION, so the suite would reach for Redis — infrastructure
|
|
// a test run must not depend on.
|
|
config(['queue.connections.provisioning' => ['driver' => 'sync']]);
|
|
}
|
|
//
|
|
}
|