mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-25 01:03:07 +00:00
Fix user role caching issues (#8973)
* Fix user role caching issues * Handle null user case * Fix typo * More spelling fixes
This commit is contained in:
1 parent
cd19a8e508
commit
c67e80b50e
5 files changed
+32
-47
No files matched your search
@@ -206,7 +206,7 @@ class UserTokenTests(InvenTreeAPITestCase):
|
||||
|
||||
self.client.get(me, expected_code=200)
|
||||
|
||||
def test_buildin_token(self):
|
||||
def test_builtin_token(self):
|
||||
"""Test the built-in token authentication."""
|
||||
response = self.post(
|
||||
reverse('rest_login'),
|
||||
|
||||
Reference in new issue
Block a user