From: Remi Gacogne Date: Tue, 7 May 2019 09:54:44 +0000 (+0200) Subject: auth: Fix the "cname at ENT" API test X-Git-Tag: rec-4.2.0-rc1~16^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f04b32e40b57d904b2b328f84940355b79a37985;p=thirdparty%2Fpdns.git auth: Fix the "cname at ENT" API test Rectify is only run for DNSSEC-secured zones and otherwise we have no ENT to test that the conflict is properly resolved. --- diff --git a/regression-tests.api/test_Zones.py b/regression-tests.api/test_Zones.py index ff756bad0a..514cea8e0e 100644 --- a/regression-tests.api/test_Zones.py +++ b/regression-tests.api/test_Zones.py @@ -1801,7 +1801,7 @@ $ORIGIN %NAME% self.assertIsNone(dbrecs[0]['ordername']) def test_cname_at_ent_place(self): - name, payload, zone = self.create_zone(api_rectify=True) + name, payload, zone = self.create_zone(dnssec=True, api_rectify=True) rrset = { 'changetype': 'replace', 'name': 'sub2.sub1.' + name,