mirror of
https://github.com/laravel/valet.git
synced 2026-02-08 01:10:08 +01:00
Set HTTP_HOST in BaseDriverTest
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
class BaseDriverTestCase extends Yoast\PHPUnitPolyfills\TestCases\TestCase
|
||||
{
|
||||
public function set_up(): void
|
||||
{
|
||||
$_SERVER['HTTP_HOST'] = 'this is set in Valet requests but not phpunit';
|
||||
}
|
||||
|
||||
public function projects(): array
|
||||
{
|
||||
return Filesystem::scanDir(__DIR__.'/projects');
|
||||
|
||||
Reference in New Issue
Block a user