@@ -54,11 +54,12 @@ func TestObservedConfig(t *testing.T) {
5454 expectedChange : true ,
5555 },
5656 {
57- name : "issuer set, no previous issuer" ,
58- existingIssuer : "" ,
59- issuer : "https://example.com" ,
60- expectedIssuer : "https://example.com" ,
61- expectedChange : true ,
57+ name : "issuer set, no previous issuer" ,
58+ existingIssuer : "" ,
59+ issuer : "https://example.com" ,
60+ expectedIssuer : "https://example.com" ,
61+ expectInternalJWKI : true ,
62+ expectedChange : true ,
6263 },
6364 {
6465 name : "previous issuer was default, new is custom value" ,
@@ -71,10 +72,11 @@ func TestObservedConfig(t *testing.T) {
7172 expectedChange : true ,
7273 },
7374 {
74- name : "issuer set, previous issuer same" ,
75- existingIssuer : "https://example.com" ,
76- issuer : "https://example.com" ,
77- expectedIssuer : "https://example.com" ,
75+ name : "issuer set, previous issuer same" ,
76+ existingIssuer : "https://example.com" ,
77+ issuer : "https://example.com" ,
78+ expectedIssuer : "https://example.com" ,
79+ expectInternalJWKI : true ,
7880 },
7981 {
8082 name : "issuer set, previous issuer and trusted issuers same" ,
@@ -83,20 +85,23 @@ func TestObservedConfig(t *testing.T) {
8385 trustedIssuers : []string {"https://trusted.example.com" },
8486 expectedIssuer : "https://example.com" ,
8587 expectedTrustedIssuers : []string {"https://trusted.example.com" },
88+ expectInternalJWKI : true ,
8689 },
8790 {
88- name : "issuer set, previous issuer different" ,
89- existingIssuer : "https://example.com" ,
90- issuer : "https://example2.com" ,
91- expectedIssuer : "https://example2.com" ,
92- expectedChange : true ,
91+ name : "issuer set, previous issuer different" ,
92+ existingIssuer : "https://example.com" ,
93+ issuer : "https://example2.com" ,
94+ expectedIssuer : "https://example2.com" ,
95+ expectInternalJWKI : true ,
96+ expectedChange : true ,
9397 },
9498 {
95- name : "auth getter error" ,
96- existingIssuer : "https://example2.com" ,
97- issuer : "https://example.com" ,
98- authError : expectedErrAuth ,
99- expectedIssuer : "https://example2.com" ,
99+ name : "auth getter error" ,
100+ existingIssuer : "https://example2.com" ,
101+ issuer : "https://example.com" ,
102+ authError : expectedErrAuth ,
103+ expectedIssuer : "https://example2.com" ,
104+ expectInternalJWKI : true ,
100105 },
101106 {
102107 name : "infra getter error" ,
0 commit comments