mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 17:44:43 +03:00
Fix test
This commit is contained in:
parent
6ce7ad4e3f
commit
9de0902038
@ -13,7 +13,10 @@ defmodule Plausible.Workers.SslCertificatesTest do
|
||||
|
||||
ProvisionSslCertificates.perform(nil, nil, ssh_stub)
|
||||
|
||||
assert_receive({SSHEx, :run, [nil, 'sudo certbot certonly --nginx -n -d "custom-site.com"']})
|
||||
assert_receive(
|
||||
{SSHEx, :run,
|
||||
[nil, 'sudo certbot certonly --webroot -w /root/webroot -n -d "custom-site.com"']}
|
||||
)
|
||||
end
|
||||
|
||||
test "sets has_ssl_certficate=true if the ssh command is succesful" do
|
||||
|
Loading…
Reference in New Issue
Block a user