(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestFindOriginCert_Missing(t *testing.T) { |
| 74 | dir := t.TempDir() |
| 75 | certPath := filepath.Join(dir, originCertFile) |
| 76 | _, err := FindOriginCert(certPath, &nopLog) |
| 77 | require.Error(t, err) |
| 78 | } |
| 79 | |
| 80 | func TestEncodeDecodeOriginCert(t *testing.T) { |
| 81 | cert := OriginCert{ |
nothing calls this directly
no test coverage detected