Skip to content

Commit a82df0d

Browse files
committed
Fix cypress tests
1 parent e459586 commit a82df0d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

backend/internal/dnsproviders/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type providerField struct {
1818
MinLength int `json:"minLength,omitempty"`
1919
MaxLength int `json:"maxLength,omitempty"`
2020
Pattern string `json:"pattern,omitempty"`
21-
IsSecret bool `json:"isSecret"` // Not valid jsonschema
21+
IsSecret bool `json:"-"` // Not valid jsonschema
2222
}
2323

2424
// Provider is a simple struct

test/cypress/integration/api/FullCertProvision.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ describe('Full Certificate Provisions', () => {
3434
name: 'PowerDNS - example.com',
3535
dns_sleep: 5,
3636
meta: {
37-
url: 'http://ns1.pdns:8081',
38-
server_id: 'localhost',
39-
token: 'npm',
40-
ttl: '5'
37+
PDNS_Url: 'http://ns1.pdns:8081',
38+
PDNS_ServerId: 'localhost',
39+
PDNS_Token: 'npm',
40+
PDNS_Ttl: '5'
4141
}
4242
}
4343
}).then((data) => {

0 commit comments

Comments
 (0)