(t *testing.T, n int)
| 873 | } |
| 874 | |
| 875 | func fakeBase64RandomData(t *testing.T, n int) string { |
| 876 | t.Helper() |
| 877 | b := make([]byte, n) |
| 878 | _, err := io.ReadFull(rand.Reader, b) |
| 879 | require.NoError(t, err) |
| 880 | return base64.StdEncoding.EncodeToString(b) |
| 881 | } |
| 882 | |
| 883 | // requireMCPServerConfigDecrypted verifies all encrypted fields on an |
| 884 | // MCPServerConfig match the expected plaintext values and carry the |
no test coverage detected