mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the issue of renaming the database by another user. Fixes #4203
This commit is contained in:
committed by
Akshay Joshi
parent
a487a51135
commit
658a2de619
@@ -17,10 +17,10 @@ class PSQLPanel(BaseTestGenerator):
|
||||
|
||||
def runTest(self):
|
||||
trans_id = random.randint(1, 9999999)
|
||||
url = '/psql/panel/{trans_id}?sgid={sgid}&sid={sid}&server_type=pg' \
|
||||
'&db={db_name}&theme={theme}'.\
|
||||
url = '/psql/panel/{trans_id}?sgid={sgid}&sid={sid}&did={did}' \
|
||||
'&server_type=pg&db={db_name}&theme={theme}'.\
|
||||
format(trans_id=trans_id, sgid=self.sgid, sid=self.sid,
|
||||
db_name=self.db_name, theme=self.theme)
|
||||
did=self.did, db_name=self.db_name, theme=self.theme)
|
||||
|
||||
response = self.tester.post(
|
||||
url, data={"title": "panel_title"},
|
||||
|
||||
Reference in New Issue
Block a user