Skip to content

Commit

Permalink
tests(jwk): fix failing test
Browse files Browse the repository at this point in the history
localize variable to avoid affecting other tests
  • Loading branch information
samugi authored and tyler-ball committed Feb 1, 2023
1 parent 59d9a48 commit 2b0e7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/02-integration/04-admin_api/21-admin-api-keys_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ for _, strategy in helpers.all_strategies() do
}
})
local key_body = assert.res_status(400, j_key)
test_jwk_key = cjson.decode(key_body)
assert.equal('schema violation (could not load JWK, likely not a valid key)', test_jwk_key.message)
local jwk_key = cjson.decode(key_body)
assert.equal('schema violation (could not load JWK, likely not a valid key)', jwk_key.message)
end)
end)

Expand Down

1 comment on commit 2b0e7bb

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:2b0e7bbf64cf47f2a092e3b26f6ca10050c8bf89
Artifacts available https://github.com/Kong/kong/actions/runs/4059508626

Please sign in to comment.