From d0eb899fc818b2f6fa3b556dcf7957a692973fe5 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Fri, 6 Sep 2024 15:29:11 -0400 Subject: [PATCH] tests: dnsexit2: Localize changes to `%config` --- t/protocol_dnsexit2.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/protocol_dnsexit2.pl b/t/protocol_dnsexit2.pl index a9f9ed3..c45036b 100644 --- a/t/protocol_dnsexit2.pl +++ b/t/protocol_dnsexit2.pl @@ -58,7 +58,7 @@ sub get_requests { } subtest 'Testing nic_dnsexit2_update' => sub { - %ddclient::config = ( + local %ddclient::config = ( 'host.my.zone.com' => { 'usev4' => 'ipv4', 'wantipv4' => '8.8.4.4', @@ -103,7 +103,7 @@ subtest 'Testing nic_dnsexit2_update' => sub { }; subtest 'Testing nic_dnsexit2_update without a zone set' => sub { - %ddclient::config = ( + local %ddclient::config = ( 'myhost.zone.com' => { 'usev4' => 'ipv4', 'wantipv4' => '8.8.4.4', @@ -135,7 +135,7 @@ subtest 'Testing nic_dnsexit2_update without a zone set' => sub { }; subtest 'Testing nic_dnsexit2_update with two hostnames, one with a zone and one without' => sub { - %ddclient::config = ( + local %ddclient::config = ( 'host1.zone.com' => { 'usev4' => 'ipv4', 'wantipv4' => '8.8.4.4',