summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/test/resources/invalid-value.conf
diff options
context:
space:
mode:
authorMichal Murin <michal.murin@jamf.com>2022-02-09 11:57:58 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-09 12:01:56 +0100
commit72dc6778196dc867203c83f8f9b6396155dcda45 (patch)
tree3d594cd1e03e60f47b5c7fa521bbdf581ee02e12 /tunnel/src/test/resources/invalid-value.conf
parent7002367e4faf4f794abbe329826f8a03bb85732a (diff)
tunnel: fix BadConfigExceptionTest
Fix the test by changing the DNS to a string with an invalid char in the `invalid-value.conf` test configuration file. Signed-off-by: Michal Murin <michal.murin@jamf.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/src/test/resources/invalid-value.conf')
-rw-r--r--tunnel/src/test/resources/invalid-value.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/src/test/resources/invalid-value.conf b/tunnel/src/test/resources/invalid-value.conf
index 2889111e..6a1e3b62 100644
--- a/tunnel/src/test/resources/invalid-value.conf
+++ b/tunnel/src/test/resources/invalid-value.conf
@@ -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