mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
Fix .env updates for double quotations (#259)
This commit is contained in:
@ -179,10 +179,10 @@ public function test_update_env_file(): void
|
||||
'server' => $this->server,
|
||||
'site' => $this->site,
|
||||
]), [
|
||||
'env' => 'APP_ENV=production',
|
||||
'env' => 'APP_ENV="production"',
|
||||
])->assertSessionDoesntHaveErrors();
|
||||
|
||||
SSH::assertExecutedContains('echo "APP_ENV=production" | tee /home/vito/'.$this->site->domain.'/.env');
|
||||
SSH::assertFileUploaded('/home/vito/'.$this->site->domain.'/.env', 'APP_ENV="production"');
|
||||
}
|
||||
|
||||
public function test_git_hook_deployment(): void
|
||||
|
Reference in New Issue
Block a user