Skip to content

Commit c629d0f

Browse files
committed
Improve tests
1 parent 07ad0e7 commit c629d0f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test.bats

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ function check_ip_not_banned(){
16701670
}
16711671

16721672
@test "MAIL: Add account 6" {
1673-
run v-add-mail-account $user $domain 0AA "$userpass2"
1673+
run v-add-mail-account $user $domain "0AA" "$userpass2"
16741674
assert_success
16751675
assert_file_contains /etc/exim4/domains/$domain/limits "0AA@$domain"
16761676
refute_output
@@ -1891,7 +1891,8 @@ function check_ip_not_banned(){
18911891
assert_success
18921892
refute_output
18931893
# validate_database mysql database_name database_user password
1894-
validate_database mysql "$user_01" "$user_01" 1234
1894+
$test_db = "${$user}_01"
1895+
validate_database mysql $test_db" "test_db" 1234
18951896
}
18961897
18971898
@test "MYSQL: Add Database (Duplicate)" {

0 commit comments

Comments
 (0)