mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
add custom path to site env (#629)
This commit is contained in:
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user