This commit is contained in:
Tatyana Kostromskaya
2023-08-29 10:43:51 +00:00
parent 0956e634df
commit e3b0601228
2 changed files with 12 additions and 2 deletions

View File

@@ -670,7 +670,12 @@ describe('oidc-client-tests', () => {
it('HTTP get request to get token endpoint', async () => {
const http = new HttpClient('actions/oidc-client')
const res = await http.get(getTokenEndPoint())
expect(res.message.statusCode).toBe(200)
try {
const res = await http.get(getTokenEndPoint())
expect(res.message.statusCode).toBe(200)
}
finally {
http.dispose()
}
})
})