Skip to contentSkip to conversation

tunnel: fixed BadConfigExceptionTest

PATCH Applied Michal Murin 2 participants 2 messages Feb 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tunnel: fixed BadConfigExceptionTest

Fixed the test by changing the DNS to a string with an invalid char in the invalid-value.conf test configuration file.

---
 tunnel/src/test/resources/invalid-value.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tunnel/src/test/resources/invalid-value.conf +1 -1
index 2889111..6a1e3b6 100644
@@ -1,6 +1,6 @@
 [Interface]
 Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128
-DNS = 192.0.2.0,yes
+DNS = 192.0.2.0,invalid_value
 PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo=
 [Peer]
 AllowedIPs = 0.0.0.0/0, ::0/0
Signature · 1 line
2.30.1 (Apple Git-130)