From 70ed898f1d5b057977c9fd1ed1791ca27eac748b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Fri, 31 Jan 2025 21:04:36 +0100 Subject: [PATCH] fix(tests): add case for when query has empty string This is produced by the FRITZ!Box DDNS client. --- flake-modules/tests.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake-modules/tests.nix b/flake-modules/tests.nix index 5f0feef..45fc5ff 100644 --- a/flake-modules/tests.nix +++ b/flake-modules/tests.nix @@ -237,9 +237,9 @@ if IPV4 and IPV6: update_records("127.0.0.1", domain="test", ipv4="1.2.3.4", ipv6="::1234") elif IPV4: - update_records("127.0.0.1", ipv4="1.2.3.4") + update_records("127.0.0.1", ipv4="1.2.3.4", ipv6="") elif IPV6: - update_records("[::1]", ipv6="::1234") + update_records("[::1]", ipv4="", ipv6="::1234") for domain in DYNAMIC_DOMAINS: if IPV4: