mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
Ask for email when generating LetsEncrypt SSLs (#452)
This commit is contained in:
@ -44,6 +44,7 @@ public function test_letsencrypt_ssl()
|
||||
])
|
||||
->callAction('create', [
|
||||
'type' => SslType::LETSENCRYPT,
|
||||
'email' => 'ssl@example.com',
|
||||
])
|
||||
->assertSuccessful();
|
||||
|
||||
@ -52,6 +53,7 @@ public function test_letsencrypt_ssl()
|
||||
'type' => SslType::LETSENCRYPT,
|
||||
'status' => SslStatus::CREATED,
|
||||
'domains' => json_encode([$this->site->domain]),
|
||||
'email' => 'ssl@example.com',
|
||||
]);
|
||||
}
|
||||
|
||||
@ -67,6 +69,7 @@ public function test_letsencrypt_ssl_with_aliases()
|
||||
])
|
||||
->callAction('create', [
|
||||
'type' => SslType::LETSENCRYPT,
|
||||
'email' => 'ssl@example.com',
|
||||
'aliases' => true,
|
||||
])
|
||||
->assertSuccessful();
|
||||
@ -76,6 +79,7 @@ public function test_letsencrypt_ssl_with_aliases()
|
||||
'type' => SslType::LETSENCRYPT,
|
||||
'status' => SslStatus::CREATED,
|
||||
'domains' => json_encode(array_merge([$this->site->domain], $this->site->aliases)),
|
||||
'email' => 'ssl@example.com',
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user