diff --git a/renewal/service_test.go b/renewal/service_test.go index 90ef22e..ca6c927 100644 --- a/renewal/service_test.go +++ b/renewal/service_test.go @@ -165,7 +165,7 @@ func TestPebbleRenewal(t *testing.T) { _, err := db2.Exec("DELETE FROM certificate_domains") assert.NoError(t, err) - _, err = db2.Exec(`INSERT INTO certificates (owner, dns, auto_renew, active, renewing, renew_failed, not_after, updated_at) VALUES (1, 1, 1, 1, 0, 0, 0, 0)`) + _, err = db2.Exec(`INSERT INTO certificates (owner, dns, auto_renew, active, renewing, renew_failed, not_after, updated_at) VALUES (1, 1, 1, 1, 0, 0, "2000-01-01 00:00:00+00:00", "2000-01-01 00:00:00+00:00")`) assert.NoError(t, err) for _, j := range i.domains { _, err = db2.Exec(`INSERT INTO certificate_domains (cert_id, domain) VALUES (1, ?)`, j)