Update shunit test

This commit is contained in:
Edi Septriyanto
2023-04-16 00:21:54 +07:00
parent aeae63f885
commit 1eb7906629

View File

@@ -43,14 +43,6 @@ testTrueInstallCertbot()
assertTrue "[[ ${cb} -gt 0 ]]"
}
testEqualityInstallPhp()
{
. scripts/install_php.sh
php_bin=$(command -v php)
assertEquals "/usr/bin/php" "${php_bin}"
}
testTrueInstallNginx()
{
. scripts/install_nginx.sh
@@ -59,6 +51,14 @@ testTrueInstallNginx()
assertTrue "[[ ${ngx} -gt 0 ]]"
}
testEqualityInstallPhp()
{
. scripts/install_php.sh
php_bin=$(command -v php)
assertEquals "/usr/bin/php" "${php_bin}"
}
testEqualityInstallMySQL()
{
. scripts/install_mariadb.sh