ContainerImage.Pinniped/test
Matt Moyer 6a0dc1e2bb
Fix an issue in TestE2EFullIntegration groups assertions.
The group claims read from the session cache file are loaded as `[]interface{}` (slice of empty interfaces) so when we previously did a `groups, _ := idTokenClaims[oidc.DownstreamGroupsClaim].([]string)`, then `groups` would always end up nil.

The solution I tried here was to convert the expected value to also be `[]interface{}` so that `require.Equal(t, ...)` does the right thing.

This bug only showed up in our acceptance environnment against Okta, since we don't have any other integration test coverage with IDPs that pass a groups claim.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-01-14 21:06:02 -06:00
..
cluster_capabilities Update copyright to reference Pinniped contributors 2020-09-16 10:05:51 -04:00
deploy/dex Move our main image references to the VMware Harbor registry. 2020-12-17 17:51:09 -06:00
integration Fix an issue in TestE2EFullIntegration groups assertions. 2021-01-14 21:06:02 -06:00
library test/integration: add test helper to avoid race conditions 2021-01-14 10:19:35 -05:00