Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix test

Uku Taht9de09020388e
diff --git a/test/workers/provision_ssl_certificates_test.exs b/test/workers/provision_ssl_certificates_test.exs
index a3e0ce812e..419d0225b4 100644
--- a/test/workers/provision_ssl_certificates_test.exs
+++ b/test/workers/provision_ssl_certificates_test.exs
@@ -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