@@ -506,8 +506,8 @@ func TestOIDCProviderConfigUniqueIssuerURIValidation(t *testing.T) {
506506 expectedResult v1.ValidationResult
507507 }{
508508 {
509- name : "MongoDB 6.0 with duplicate issuer URIs - error" ,
510- mongoVersion : "6 .0.0 " ,
509+ name : "MongoDB 7.0.11 with duplicate issuer URIs - error" ,
510+ mongoVersion : "7 .0.11 " ,
511511 configs : []OIDCProviderConfig {
512512 {
513513 ConfigurationName : "config1" ,
@@ -524,25 +524,8 @@ func TestOIDCProviderConfigUniqueIssuerURIValidation(t *testing.T) {
524524 "config1" , "config2" , "https://provider.com" ),
525525 },
526526 {
527- name : "MongoDB 7.0 with unique issuer+audience combinations" ,
528- mongoVersion : "7.0.0" ,
529- configs : []OIDCProviderConfig {
530- {
531- ConfigurationName : "config1" ,
532- IssuerURI : "https://provider.com" ,
533- Audience : "audience1" ,
534- },
535- {
536- ConfigurationName : "config2" ,
537- IssuerURI : "https://provider.com" ,
538- Audience : "audience2" ,
539- },
540- },
541- expectedResult : v1 .ValidationSuccess (),
542- },
543- {
544- name : "MongoDB 7.0 with duplicate issuer+audience combinations - warning" ,
545- mongoVersion : "7.0.0" ,
527+ name : "MongoDB 8.0 with duplicate issuer+audience combinations - warning" ,
528+ mongoVersion : "8.0.0" ,
546529 configs : []OIDCProviderConfig {
547530 {
548531 ConfigurationName : "config1" ,
@@ -558,23 +541,6 @@ func TestOIDCProviderConfigUniqueIssuerURIValidation(t *testing.T) {
558541 expectedResult : v1 .ValidationWarning ("OIDC provider configs %q and %q have duplicate IssuerURI and Audience combination" ,
559542 "config1" , "config2" ),
560543 },
561- {
562- name : "MongoDB 7.3 with unique issuer+audience combinations" ,
563- mongoVersion : "7.3.0" ,
564- configs : []OIDCProviderConfig {
565- {
566- ConfigurationName : "config1" ,
567- IssuerURI : "https://provider.com" ,
568- Audience : "audience1" ,
569- },
570- {
571- ConfigurationName : "config2" ,
572- IssuerURI : "https://provider.com" ,
573- Audience : "audience2" ,
574- },
575- },
576- expectedResult : v1 .ValidationSuccess (),
577- },
578544 {
579545 name : "MongoDB 8.0 with unique issuer+audience combinations" ,
580546 mongoVersion : "8.0.0" ,
@@ -594,16 +560,16 @@ func TestOIDCProviderConfigUniqueIssuerURIValidation(t *testing.T) {
594560 },
595561 {
596562 name : "MongoDB enterprise version with -ent suffix" ,
597- mongoVersion : "7.0.0 -ent" ,
563+ mongoVersion : "7.0.11 -ent" ,
598564 configs : []OIDCProviderConfig {
599565 {
600566 ConfigurationName : "config1" ,
601- IssuerURI : "https://provider.com" ,
567+ IssuerURI : "https://provider-1 .com" ,
602568 Audience : "audience1" ,
603569 },
604570 {
605571 ConfigurationName : "config2" ,
606- IssuerURI : "https://provider.com" ,
572+ IssuerURI : "https://provider-2 .com" ,
607573 Audience : "audience2" ,
608574 },
609575 },
0 commit comments