Skip to content

Commit e25143e

Browse files
committed
add tests around case sensitivity
1 parent 133b900 commit e25143e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_casbin_enforcer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def update_callback(self):
4747
"header, user, method, status, user_name",
4848
[
4949
("X-User", "alice", "GET", 200, "X-User"),
50+
("X-USER", "alice", "GET", 200, "x-user"),
51+
("x-user", "alice", "GET", 200, "X-USER"),
52+
("X-User", "alice", "GET", 200, "X-USER"),
5053
("X-User", "alice", "GET", 200, "X-Not-A-Header"),
5154
("X-User", "alice", "POST", 201, None),
5255
("X-User", "alice", "DELETE", 202, None),

0 commit comments

Comments
 (0)