Skip to content

Commit eb85b2c

Browse files
committed
Add extra domain with know issues
1 parent fb12888 commit eb85b2c

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

test/test.bats

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -652,10 +652,10 @@ function validate_database(){
652652
}
653653

654654
#----------------------------------------------------------#
655-
# ID #
655+
# IDN #
656656
#----------------------------------------------------------#
657657

658-
@test "WEB: Add IDN domain UTF" {
658+
@test "WEB: Add IDN domain UTF idn-tést.eu" {
659659
run v-add-web-domain $user idn-tést.eu 198.18.0.125
660660
assert_success
661661
refute_output
@@ -665,19 +665,30 @@ function validate_database(){
665665
rm $HOMEDIR/$user/web/idn-tést.eu/public_html/php-test.php
666666
}
667667

668-
@test "WEB: Add IDN domain ASCII" {
668+
@test "WEB: Add IDN domain ASCII idn-tést.eu" {
669669
# Expected to fail due to utf exists
670670
run v-add-web-domain $user $( idn -a idn-tést.eu) 198.18.0.125
671671
assert_failure $E_EXISTS
672672

673673
}
674674

675-
@test "WEB: Delete IDN domain" {
675+
@test "WEB: Delete IDN domain idn-tést.eu" {
676676
run v-delete-web-domain $user idn-tést.eu
677677
assert_success
678678
refute_output
679679
}
680680

681+
@test "WEB: Add IDN domain UTF bløst.com" {
682+
run v-add-web-domain $user bløst.com 198.18.0.125
683+
assert_success
684+
refute_output
685+
}
686+
687+
@test "WEB: Delete IDN domain bløst.com" {
688+
run v-delete-web-domain $user bløst.com
689+
assert_success
690+
refute_output
691+
}
681692

682693
#----------------------------------------------------------#
683694
# MULTIPHP #

0 commit comments

Comments
 (0)