ContainerImage.Pinniped/test/integration
Ryan Richard c6e4133c5e Accept both old and new cert error strings on MacOS in test assertions
Used this as an opportunity to refactor how some tests were
making assertions about error strings.

New test helpers make it easy for an error string to be expected as an
exact string, as a string built using sprintf, as a regexp, or as a
string built to include the platform-specific x509 error string.

All of these helpers can be used in a single `wantErr` field of a test
table. They can be used for both unit tests and integration tests.

Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-01-20 15:01:36 -08:00
..
category_test.go Change allowed gcp auth plugin is deprecation warning text 2022-08-25 08:11:37 -07:00
cli_test.go Upgrade the linter and fix all new linter warnings 2022-08-24 14:45:55 -07:00
concierge_api_serving_certs_test.go Another integration test fix for dynamic clients feature with Okta 2022-09-26 14:43:50 -07:00
concierge_availability_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_client_test.go Upgrade the linter and fix all new linter warnings 2022-08-24 14:45:55 -07:00
concierge_credentialissuer_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_credentialrequest_test.go Stop using pointer pkg functions that were deprecated by dependency bump 2022-12-14 08:47:16 -08:00
concierge_impersonation_proxy_test.go Make Pinniped compatible with Kube clusters which have enabled PSAs 2022-09-15 14:58:15 -07:00
concierge_kubecertagent_test.go Stop using pointer pkg functions that were deprecated by dependency bump 2022-12-14 08:47:16 -08:00
concierge_kubectl_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
controllerinit_test.go Ensure concierge and supervisor gracefully exit 2021-08-30 20:29:52 -04:00
e2e_test.go Fix some integration tests' handling of groups to work with Okta 2022-09-26 12:40:07 -07:00
formposthtml_test.go Upgrade project Go dependencies 2022-12-14 08:47:16 -08:00
kube_api_discovery_test.go Make kubectl explain work for Pinniped aggregated APIs 2022-09-21 15:15:37 -07:00
kubeclient_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
ldap_client_test.go Accept both old and new cert error strings on MacOS in test assertions 2023-01-20 15:01:36 -08:00
leaderelection_test.go Code changes to support Kube 0.26 deps 2023-01-18 14:39:22 -08:00
main_test.go Allow focused integration tests to be run from the GoLand UI again 2021-09-21 12:04:45 -07:00
rbac_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
securetls_fips_test.go Remove duplication in secure TLS tests 2022-04-01 10:56:38 -04:00
securetls_test.go Remove duplication in secure TLS tests 2022-04-01 10:56:38 -04:00
supervisor_discovery_test.go update copyright to 2023 in files changed by this PR 2023-01-17 15:54:16 -08:00
supervisor_healthz_test.go Upgrade the linter and fix all new linter warnings 2022-08-24 14:45:55 -07:00
supervisor_login_test.go Two more integration tests for additionalClaimMappings 2023-01-17 15:36:39 -08:00
supervisor_oidc_client_test.go Implement the OIDCClientSecretRequest API 2022-09-21 15:15:07 -07:00
supervisor_oidcclientsecret_test.go Fix integration test expectation for AKS clusters 2022-09-26 17:00:11 -07:00
supervisor_secrets_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
supervisor_storage_garbage_collection_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
supervisor_storage_test.go Upgrade project Go dependencies 2022-12-14 08:47:16 -08:00
supervisor_upstream_test.go TestSupervisorUpstreamOIDCDiscovery: include AdditionalAuthorizeParametersValid condition 2021-10-25 10:21:51 -04:00
supervisor_warnings_test.go Merge branch 'main' into dynamic_clients 2022-08-26 11:35:35 -07:00
whoami_test.go Make Pinniped compatible with Kube clusters which have enabled PSAs 2022-09-15 14:58:15 -07:00