diff --git a/monkey/tests/monkey_island/cc/environment/test_user_creds.py b/monkey/tests/monkey_island/cc/environment/test_user_creds.py index 3d1f2ea34..60bb2afa2 100644 --- a/monkey/tests/monkey_island/cc/environment/test_user_creds.py +++ b/monkey/tests/monkey_island/cc/environment/test_user_creds.py @@ -29,12 +29,12 @@ def test_to_dict_empty_creds(): def test_to_dict_full_creds(): - user_creds = UserCreds(username=TEST_USER, password_hash=TEST_HASH) + user_creds = UserCreds(TEST_USER, TEST_HASH) assert user_creds.to_dict() == {"user": TEST_USER, "password_hash": TEST_HASH} def test_to_auth_user_full_credentials(): - user_creds = UserCreds(username=TEST_USER, password_hash=TEST_HASH) + user_creds = UserCreds(TEST_USER, TEST_HASH) auth_user = user_creds.to_auth_user() assert auth_user.id == 1 assert auth_user.username == TEST_USER