Browse Source

Fix bug in test

Jaap Marcus 3 years ago
parent
commit
d1cda56cce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/restore.bats

+ 2 - 2
test/restore.bats

@@ -312,7 +312,7 @@ function validate_web_domain() {
 @test "Restore[3]: From Hestia [WEB] Custom rule" {
 @test "Restore[3]: From Hestia [WEB] Custom rule" {
     # check if custom rule is still working
     # check if custom rule is still working
     local domain="test.hestia.com"
     local domain="test.hestia.com"
-    validate_web_domain_fake $userbk $domain 'hestia-yes' '/hestia/hestia'
+    validate_web_domain $userbk $domain 'hestia-yes' '/hestia/hestia' 'no'
 }
 }
 
 
 
 
@@ -405,7 +405,7 @@ function validate_web_domain() {
 @test "Restore[4]: From Hestia [WEB] Custom rule" {
 @test "Restore[4]: From Hestia [WEB] Custom rule" {
     # check if custom rule is still working
     # check if custom rule is still working
     local domain="test.hestia.com"
     local domain="test.hestia.com"
-    validate_web_domain_fake $userbk $domain 'hestia-yes' '/hestia/hestia'
+    validate_web_domain $userbk $domain 'hestia-yes' '/hestia/hestia' 'no'
 }
 }