Skip to content

Commit cfd328e

Browse files
[FIX] test_auth_admin_passkey.py
1 parent 419bb2b commit cfd328e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auth_admin_passkey/tests/test_auth_admin_passkey.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ def test_05_passkey_login_passkey_succeed(self):
6666
"""[Bug #1319391]
6767
Test the correct behaviour of login with 'bad_login' / 'admin'"""
6868
with self.assertRaises(exceptions.AccessDenied):
69+
credential = {'login': self.bad_login, 'password': self.sysadmin_passkey, 'type': 'password'}
6970
self.ResUsers.authenticate(
70-
self.db, {"type": "password", "login": self.bad_login, "password": self.sysadmin_passkey}, {}
71+
self.db, credential, {}
7172
)
7273

7374
def test_06_normal_login_passkey_succeed_encrypted_password(self):

0 commit comments

Comments
 (0)