From 6ee0977d7039bb97c3ea919819a48003ff69e862 Mon Sep 17 00:00:00 2001 From: wklken Date: Fri, 15 Nov 2024 12:06:29 +0800 Subject: [PATCH] fix(tests/test-bk-user-restriction.lua): update --- src/apisix/tests/test-bk-user-restriction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apisix/tests/test-bk-user-restriction.lua b/src/apisix/tests/test-bk-user-restriction.lua index e7c8038..90a2321 100644 --- a/src/apisix/tests/test-bk-user-restriction.lua +++ b/src/apisix/tests/test-bk-user-restriction.lua @@ -97,7 +97,7 @@ describe("bk-user-restriction", function() assert.is_true(core.string.find(ctx.var.bk_apigw_error.error.message, 'bk_username="unknown_user"') ~= nil) end) - it("should allow user not in whitelist", function() + it("should allow user in whitelist", function() local ok = plugin.check_schema(conf) assert.is_true(ok) assert.is_not_nil(conf.whitelist_map)