mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-05 12:18:19 +00:00
fix shunit2 test
This commit is contained in:
@@ -39,6 +39,14 @@ testEqualityCreateAccount()
|
||||
assertEquals "success" "${create_account_status}"
|
||||
}
|
||||
|
||||
testEqualityInstallCertbot()
|
||||
{
|
||||
. scripts/install_certbotle.sh
|
||||
|
||||
certbot_bin=$(command -v certbot)
|
||||
assertEquals "/usr/bin/certbot" "${certbot_bin}"
|
||||
}
|
||||
|
||||
testEqualityGetNginxStableVersion()
|
||||
{
|
||||
ngx_stable_version=$(determine_stable_nginx_version)
|
||||
@@ -53,7 +61,6 @@ testEqualityGetNginxLatestVersion()
|
||||
|
||||
testEqualityInstallNginx()
|
||||
{
|
||||
. scripts/install_certbotle.sh
|
||||
. scripts/install_nginx.sh
|
||||
|
||||
nginx_bin=$(command -v nginx)
|
||||
|
||||
Reference in New Issue
Block a user