(t *testing.T)
| 180 | } |
| 181 | |
| 182 | func TestParseStringSliceClaimReference(t *testing.T) { |
| 183 | t.Parallel() |
| 184 | |
| 185 | var val any = []string{"a", "b", "c"} |
| 186 | parsed, err := idpsync.ParseStringSliceClaim(val) |
| 187 | require.NoError(t, err) |
| 188 | |
| 189 | parsed[0] = "" |
| 190 | require.Equal(t, "a", val.([]string)[0], "should not modify original value") |
| 191 | } |
| 192 | |
| 193 | func TestIsHTTPError(t *testing.T) { |
| 194 | t.Parallel() |
nothing calls this directly
no test coverage detected