Skip to content

Commit

Permalink
test: swap test names to match the intent
Browse files Browse the repository at this point in the history
  • Loading branch information
big-kahuna-burger committed Nov 22, 2023
1 parent 5e7517d commit 6705b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ t.test('fastify-oauth2', t => {
makeRequests(t, fastify, userAgent => userAgent === undefined, undefined, 'http://github.com')
})

t.test('discovery - failed gracefully when discovery host errs with ETIMEDOUT or similar', t => {
t.test('discovery - failed gracefully when discovery host gives bad data', t => {
const fastify = createFastify({ logger: { level: 'silent' } })

fastify.register(fastifyOauth2, {
Expand Down Expand Up @@ -751,7 +751,7 @@ t.test('fastify-oauth2', t => {
makeRequests(t, fastify, undefined, undefined, 'http://github.com', undefined, { badJSON: true })
})

t.test('discovery - failed gracefully when discovery host gives bad data', t => {
t.test('discovery - failed gracefully when discovery host errs with ETIMEDOUT or similar', t => {
const fastify = createFastify({ logger: { level: 'silent' } })

fastify.register(fastifyOauth2, {
Expand Down

0 comments on commit 6705b1f

Please sign in to comment.