mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed API test cases failed due to SonarQube fixes.
This commit is contained in:
@@ -192,7 +192,7 @@ class DatabaseView(PGChildNodeView):
|
|||||||
# If connection to database is not allowed then
|
# If connection to database is not allowed then
|
||||||
# provide generic connection
|
# provide generic connection
|
||||||
if kwargs['did'] in self.manager.db_info:
|
if kwargs['did'] in self.manager.db_info:
|
||||||
|
self._db = self.manager.db_info[kwargs['did']]
|
||||||
self.datlastsysoid, self.datistemplate, \
|
self.datlastsysoid, self.datistemplate, \
|
||||||
datallowconn = \
|
datallowconn = \
|
||||||
get_attributes_from_db_info(self.manager, kwargs)
|
get_attributes_from_db_info(self.manager, kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user