diff --git a/pkg/collect/certificates_test.go b/pkg/collect/certificates_test.go index bded2cccc..9b358ab89 100644 --- a/pkg/collect/certificates_test.go +++ b/pkg/collect/certificates_test.go @@ -256,8 +256,8 @@ func TestCertParser(t *testing.T) { "envoy.projectcontour.svc.cluster.local", }, Issuer: "SERIALNUMBER=615929891,CN=Project Contour", - NotAfter: time.Date(2024, time.February, 25, 4, 27, 16, 0, time.UTC), - NotBefore: time.Date(2023, time.February, 24, 4, 27, 18, 0, time.UTC), + NotAfter: time.Date(2025, time.February, 25, 4, 27, 16, 0, time.UTC), + NotBefore: time.Date(2024, time.February, 24, 4, 27, 18, 0, time.UTC), IsValid: true, IsCA: false, },