add custom path to site env (#629)

This commit is contained in:
Saeed Vaziry
2025-06-25 21:50:07 +02:00
committed by GitHub
parent a593525939
commit f4414a931e
7 changed files with 32 additions and 6 deletions

View File

@ -147,8 +147,13 @@ public function test_update_env_file(): void
'site' => $this->site,
]), [
'env' => 'APP_ENV="production"',
'path' => '/home/vito/some-path/.env',
])
->assertSessionDoesntHaveErrors();
$this->site->refresh();
$this->assertEquals('/home/vito/some-path/.env', data_get($this->site->type_data, 'env_path'));
}
/**