mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix regression tests for password reset in server mode
This commit is contained in:
committed by
Dave Page
parent
54389595da
commit
1a4e21e6dd
@@ -8,11 +8,11 @@
|
||||
##########################################################################
|
||||
|
||||
def change_password(self):
|
||||
response = self.tester.get('/change', follow_redirects=True)
|
||||
response = self.tester.get('/browser/change_password', follow_redirects=True)
|
||||
self.assertTrue('pgAdmin 4 Password Change' in response.data.decode(
|
||||
'utf-8'))
|
||||
|
||||
response = self.tester.post('/change', data=dict(
|
||||
response = self.tester.post('/browser/change_password', data=dict(
|
||||
password=self.password,
|
||||
new_password=self.new_password,
|
||||
new_password_confirm=self.new_password_confirm),
|
||||
|
||||
Reference in New Issue
Block a user