Fix cypress tests

This commit is contained in:
Jamie Curnow 2023-01-13 11:57:09 +10:00
parent e4595860f5
commit a82df0d931
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ type providerField struct {
MinLength int `json:"minLength,omitempty"` MinLength int `json:"minLength,omitempty"`
MaxLength int `json:"maxLength,omitempty"` MaxLength int `json:"maxLength,omitempty"`
Pattern string `json:"pattern,omitempty"` Pattern string `json:"pattern,omitempty"`
IsSecret bool `json:"isSecret"` // Not valid jsonschema IsSecret bool `json:"-"` // Not valid jsonschema
} }
// Provider is a simple struct // Provider is a simple struct

View File

@ -34,10 +34,10 @@ describe('Full Certificate Provisions', () => {
name: 'PowerDNS - example.com', name: 'PowerDNS - example.com',
dns_sleep: 5, dns_sleep: 5,
meta: { meta: {
url: 'http://ns1.pdns:8081', PDNS_Url: 'http://ns1.pdns:8081',
server_id: 'localhost', PDNS_ServerId: 'localhost',
token: 'npm', PDNS_Token: 'npm',
ttl: '5' PDNS_Ttl: '5'
} }
} }
}).then((data) => { }).then((data) => {