Skip to content

Commit

Permalink
fix(tests/test-bk-user-restriction.lua): update test case desc (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken authored Nov 15, 2024
1 parent b56757a commit c22e2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apisix/tests/test-bk-user-restriction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c22e2b2

Please sign in to comment.