We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea418c3 commit 60dd2a3Copy full SHA for 60dd2a3
1 file changed
test/test.bats
@@ -691,6 +691,20 @@ function validate_webmail_domain() {
691
validate_web_domain $user $multi_domain "hestia-multiphptest:$test_phpver" 'php-test.php'
692
rm $HOMEDIR/$user/web/$multi_domain/public_html/php-test.php
693
}
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
708
#----------------------------------------------------------#
709
# DNS #
710
0 commit comments