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:
Oliver authored and GitHub committed 2025-01-28 20:39:05 +11:00
1 parent cd19a8e508
commit c67e80b50e
5 files changed
+32 -47

No files matched your search

+1 -1
View File
@@ -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'),