mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 05:54:47 -04:00
Stop looking up "admin", which we never read
This commit is contained in:
parent
57619d6058
commit
a9d8bd95e7
9 changed files with 5 additions and 24 deletions
|
@ -41,7 +41,6 @@ class AuthTestCase(unittest.TestCase):
|
|||
user_info = {
|
||||
"name": self.test_user,
|
||||
"token_id": "ditto",
|
||||
"admin": False
|
||||
}
|
||||
self.store.get_user_by_access_token = Mock(return_value=user_info)
|
||||
|
||||
|
@ -66,7 +65,6 @@ class AuthTestCase(unittest.TestCase):
|
|||
user_info = {
|
||||
"name": self.test_user,
|
||||
"token_id": "ditto",
|
||||
"admin": False
|
||||
}
|
||||
self.store.get_user_by_access_token = Mock(return_value=user_info)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue