This commit is contained in:
Tatyana Kostromskaya
2023-08-29 11:19:06 +00:00
parent e3b0601228
commit b552972717
2 changed files with 2 additions and 12 deletions

View File

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