1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +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

@@ -22,8 +22,6 @@ public function test_it_gets_front_controller()
{
$driver = new DrupalValetDriver();
$_SERVER['HTTP_HOST'] = 'this is set in Valet requests but not phpunit';
$projectPath = $this->projectDir('drupal');
$this->assertEquals($projectPath.'/public/index.php', $driver->frontControllerPath($projectPath, 'my-site', '/'));
}