mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
Fix cert replacement test
This commit is contained in:
parent
702392f8bc
commit
86ec875dd1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func TestSanitizeWildcardCerts(t *testing.T) {
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// update existing cert
|
// update existing cert
|
||||||
assert.Error(t, certDB.Put(".wildcard.de", &certificate.Resource{
|
assert.NoError(t, certDB.Put(".wildcard.de", &certificate.Resource{
|
||||||
Domain: "*.wildcard.de",
|
Domain: "*.wildcard.de",
|
||||||
Certificate: localhost_mock_directory_certificate,
|
Certificate: localhost_mock_directory_certificate,
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue