diff --git a/securedrop/tests/functional/functional_test.py b/securedrop/tests/functional/functional_test.py index 0320e6cef1..45928c31ef 100644 --- a/securedrop/tests/functional/functional_test.py +++ b/securedrop/tests/functional/functional_test.py @@ -255,9 +255,6 @@ def setup(self, session_expiration=30): password=valid_password, is_admin=True) user.otp_secret = 'JHCOGO7VCER3EJ4L' - user.pw_salt = user._gen_salt() - user.pw_hash = user._scrypt_hash('WEjwn8ZyczDhQSK24YKM8C9a', - user.pw_salt) db.session.add(user) db.session.commit() except IntegrityError: @@ -279,7 +276,7 @@ def setup(self, session_expiration=30): # This user is required for our tests cases to login self.admin_user = { "name": "journalist", - "password": "WEjwn8ZyczDhQSK24YKM8C9a", + "password": "correct horse battery staple profanity oil chewy", "secret": "JHCOGO7VCER3EJ4L"} self.admin_user['totp'] = pyotp.TOTP(self.admin_user['secret']) self.sleep_time = 2