Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Ya-Jun committed Dec 25, 2023
1 parent 3dd5289 commit 2752109
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apisix/tests/bk-components/test-bkauth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ describe(
assert.is_false(result.existed)
assert.is_false(result.verified)
assert.is_nil(err)
assert.is_true(core.string.has_prefix(err, "request_id"))
end
)

Expand Down Expand Up @@ -201,7 +200,6 @@ describe(
}
)
assert.is_nil(err)
assert.is_true(core.string.has_prefix(err, "request_id"))
end
)

Expand Down Expand Up @@ -338,6 +336,7 @@ describe(
local result, err = bkauth.verify_access_token("fake-token")
assert.is_nil(result)
assert.is_true(core.string.has_prefix(err, "bkauth error message: error"))
assert.is_true(core.string.has_prefix(err, "request_id"))
end
)

Expand Down

0 comments on commit 2752109

Please sign in to comment.