From c22e2b26f5b77b7dc2bcc06353418010e202d491 Mon Sep 17 00:00:00 2001 From: wklken Date: Fri, 15 Nov 2024 12:07:08 +0800 Subject: [PATCH] fix(tests/test-bk-user-restriction.lua): update test case desc (#90) --- 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)