File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -77,21 +77,6 @@ describe('OidcUtils', (): void => {
7777
7878 // Assert
7979 expect ( result ) . toBe ( mockAccessToken ) ;
80- expect ( mockHttpClientPost ) . toHaveBeenCalledWith (
81- 'https://example.jfrog.io/access/api/v1/oidc/token' ,
82- JSON . stringify ( {
83- grant_type : 'urn:ietf:params:oauth:grant-type:token-exchange' ,
84- subject_token_type : 'urn:ietf:params:oauth:token-type:id_token' ,
85- subject_token : 'token-id' ,
86- provider_name : 'provider' ,
87- project_key : '' ,
88- gh_job_id : '' ,
89- gh_run_id : '' ,
90- gh_repo : '' ,
91- application_key : 'mock-application-key' ,
92- } ) ,
93- { 'Content-Type' : 'application/json' } ,
94- ) ;
9580 expect ( mockOutputOidcTokenAndUsernameFromToken ) . toHaveBeenCalledWith ( mockAccessToken ) ;
9681
9782 // Cleanup
You can’t perform that action at this time.
0 commit comments