File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -663,15 +663,14 @@ func TestAPIHostResolver_AuthorizationServerURL(t *testing.T) {
663663 errorContains : "host must have a scheme" ,
664664 },
665665 {
666- name : "GHES host returns correct authorization server URL with subdomain isolation" ,
667- host : "https://ghe.example.com" ,
668- expectedURL : "https://ghe.example.com/login/oauth" ,
669- expectError : false ,
666+ name : "GHEC host returns correct authorization server URL" ,
667+ host : "https://test.ghe.com" ,
668+ expectedURL : "https://test.ghe.com/login/oauth" ,
670669 },
671670 {
672- name : "GHES host returns correct authorization server URL without subdomain isolation " ,
673- host : "https://ghe-nosubdomain .example.com" ,
674- expectedURL : "https://ghe-nosubdomain .example.com/login/oauth" ,
671+ name : "GHES host returns correct authorization server URL" ,
672+ host : "https://ghe.example.com" ,
673+ expectedURL : "https://ghe.example.com/login/oauth" ,
675674 expectError : false ,
676675 },
677676 }
You can’t perform that action at this time.
0 commit comments