Skip to content

Commit 9d43c23

Browse files
committed
Adjust tests due to changes in Let's Encrypt error message text.
1 parent b411869 commit 9d43c23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/expiry_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ describe("expiry", function()
162162
assert.matches("Skipping renew!", error_log, nil, true)
163163
assert.matches("auto-ssl: checking certificate renewals for unresolvable-sdjfklsdjf.example", error_log, nil, true)
164164
assert.matches("Ignoring because renew was forced!", error_log, nil, true)
165-
assert.matches("Name does not end in a public suffix", error_log, nil, true)
165+
assert.matches("Domain name does not end with a valid public suffix (TLD)", error_log, nil, true)
166166
assert.matches("auto-ssl: issuing renewal certificate failed: dehydrated failure", error_log, nil, true)
167167
assert.matches("auto-ssl: existing certificate is expired, deleting: unresolvable-sdjfklsdjf.example", error_log, nil, true)
168168

spec/sanity_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ describe("sanity", function()
265265
assert.Not.matches("auto-ssl: could not determine domain for request (SNI not supported?) - using fallback - ,", error_log, nil, true)
266266
assert.matches("auto-ssl: issuing new certificate for non-sni-9444.example", error_log, nil, true)
267267
assert.matches("auto-ssl: dehydrated failed", error_log, nil, true)
268-
assert.matches("Name does not end in a public suffix", error_log, nil, true)
268+
assert.matches("Domain name does not end with a valid public suffix (TLD)", error_log, nil, true)
269269
assert.Not.matches("[alert]", error_log, nil, true)
270270
assert.Not.matches("[emerg]", error_log, nil, true)
271271
end
@@ -282,7 +282,7 @@ describe("sanity", function()
282282
assert.Not.matches("auto-ssl: could not determine domain for request (SNI not supported?) - using fallback - ,", error_log, nil, true)
283283
assert.matches("auto-ssl: issuing new certificate for non-sni-mismatch-9445.example", error_log, nil, true)
284284
assert.matches("auto-ssl: dehydrated failed", error_log, nil, true)
285-
assert.matches("Name does not end in a public suffix", error_log, nil, true)
285+
assert.matches("Domain name does not end with a valid public suffix (TLD)", error_log, nil, true)
286286
assert.Not.matches("[alert]", error_log, nil, true)
287287
assert.Not.matches("[emerg]", error_log, nil, true)
288288
end

0 commit comments

Comments
 (0)