(t *testing.T, filePath string)
| 33 | const wantURI = "spiffe://foo.bar.com/client/workload/1" |
| 34 | |
| 35 | func loadFileBytes(t *testing.T, filePath string) []byte { |
| 36 | bytes, err := os.ReadFile(filePath) |
| 37 | if err != nil { |
| 38 | t.Fatalf("Error reading file: %v", err) |
| 39 | } |
| 40 | return bytes |
| 41 | } |
| 42 | |
| 43 | func TestKnownSPIFFEBundle(t *testing.T) { |
| 44 | spiffeBundleFile := testdata.Path("spiffe/spiffebundle.json") |
no test coverage detected