From 921563405f4c7081d25923a3d4b78d411c00d95d Mon Sep 17 00:00:00 2001 From: Zhefeng Chen Date: Thu, 20 Feb 2025 15:19:22 +0800 Subject: [PATCH] test: fix spec/01-unit/19-hybrid/03-compat_spec.lua --- spec/01-unit/19-hybrid/03-compat_spec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/01-unit/19-hybrid/03-compat_spec.lua b/spec/01-unit/19-hybrid/03-compat_spec.lua index 48aefb8fe20..cfa9e05c768 100644 --- a/spec/01-unit/19-hybrid/03-compat_spec.lua +++ b/spec/01-unit/19-hybrid/03-compat_spec.lua @@ -443,6 +443,7 @@ describe("kong.clustering.compat", function() local jwk_pub, jwk_priv = helpers.generate_keys("JWK") local pem_pub, pem_priv = helpers.generate_keys("PEM") local jwk = merge(cjson_decode(jwk_pub), cjson_decode(jwk_priv)) + jwk.x5t = "x5t1" assert(declarative.load_into_db({ @@ -453,7 +454,7 @@ describe("kong.clustering.compat", function() id = "f0383152-a6b4-4351-983b-1844b14170c1", kid = jwk.kid, name = "key1", - x5t = "x5t1", + x5t = jwk.x5t, jwk = cjson_encode(jwk) }, key2 = {