mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-05-28 04:02:31 -04:00
tests-extra: avoid 'journal-content: None' in catalog templates
This commit is contained in:
parent
28c7f3b1e2
commit
96d47cda17
1 changed files with 3 additions and 3 deletions
|
|
@ -1742,7 +1742,7 @@ class Knot(Server):
|
|||
s.id_item("id", "catalog-default")
|
||||
s.item_str("file", self.dir + "/catalog/%s.zone")
|
||||
s.item_str("zonefile-load", "difference")
|
||||
s.item_str("journal-content", self.conf_zone(z).journal_content)
|
||||
s.item_type("journal-content", self.conf_zone(z).journal_content)
|
||||
|
||||
# this is weird but for the sake of testing, the cataloged zones inherit dnssec policy from catalog zone
|
||||
s.item_str("dnssec-signing", "on" if z.dnssec.enable else "off")
|
||||
|
|
@ -1755,13 +1755,13 @@ class Knot(Server):
|
|||
|
||||
s.id_item("id", "catalog-signed")
|
||||
s.item_str("file", self.dir + "/catalog/%s.zone")
|
||||
s.item_str("journal-content", self.conf_zone(z).journal_content)
|
||||
s.item_type("journal-content", self.conf_zone(z).journal_content)
|
||||
s.item_str("dnssec-signing", "on")
|
||||
self.config_xfr(z, s)
|
||||
|
||||
s.id_item("id", "catalog-unsigned")
|
||||
s.item_str("file", self.dir + "/catalog/%s.zone")
|
||||
s.item_str("journal-content", self.conf_zone(z).journal_content)
|
||||
s.item_type("journal-content", self.conf_zone(z).journal_content)
|
||||
self.config_xfr(z, s)
|
||||
s.end()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue