fix: add assertion for ExpiresAt field in ManualChallenge struct

This commit is contained in:
GitHub Actions
2026-03-09 00:09:14 +00:00
parent 187c3aea68
commit 791e812c3c

View File

@@ -134,6 +134,7 @@ func TestManualChallenge_StructFields(t *testing.T) {
assert.Empty(t, challenge.ErrorMessage)
assert.False(t, challenge.DNSPropagated)
assert.Equal(t, now, challenge.CreatedAt)
assert.Equal(t, now.Add(10*time.Minute), challenge.ExpiresAt)
assert.NotNil(t, challenge.LastCheckAt)
assert.NotNil(t, challenge.VerifiedAt)
}