From 1eb7906629b9d5cd239961bb0ee3dd6ad581dab2 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Sun, 16 Apr 2023 00:21:54 +0700 Subject: [PATCH] Update shunit test --- shunit2/run_test.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/shunit2/run_test.sh b/shunit2/run_test.sh index 991ec55..231b1ab 100755 --- a/shunit2/run_test.sh +++ b/shunit2/run_test.sh @@ -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