1
0
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:
Matt Stauffer
2022-12-11 13:04:36 -05:00
parent 0c27c62cec
commit f49b1b0e8a
9 changed files with 5 additions and 34 deletions

View File

@@ -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');