File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -691,6 +691,20 @@ function validate_webmail_domain() {
691691 validate_web_domain $user $multi_domain " hestia-multiphptest:$test_phpver " ' php-test.php'
692692 rm $HOMEDIR /$user /web/$multi_domain /public_html/php-test.php
693693}
694+
695+ @test " Multiphp: Cleanup" {
696+ multi_domain=" multiphp.${domain} "
697+
698+ run v-delete-web-domain $user $multi_domain ' yes'
699+ assert_success
700+ refute_output
701+
702+ # No php-fpm pool config file must be present
703+ num_fpm_config_files=" $( find -L /etc/php/ -name " ${multi_domain} .conf" | wc -l) "
704+ assert_equal " $num_fpm_config_files " ' 0'
705+ }
706+
707+
694708# ----------------------------------------------------------#
695709# DNS #
696710# ----------------------------------------------------------#
You can’t perform that action at this time.
0 commit comments