mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add Reverse Engineered SQL tests for Schemas. Fixes #4575
This commit is contained in:
@@ -168,7 +168,12 @@ class ReverseEngineeredSQLTestCases(BaseTestGenerator):
|
||||
elif arg == 'did':
|
||||
options['did'] = int(self.server_information['db_id'])
|
||||
elif arg == 'scid':
|
||||
options['scid'] = int(self.schema_id)
|
||||
# For schema node object_id is the actual schema id.
|
||||
if endpoint.__contains__('NODE-schema') and \
|
||||
object_id is not None:
|
||||
options['scid'] = int(object_id)
|
||||
else:
|
||||
options['scid'] = int(self.schema_id)
|
||||
elif arg == 'tid' and self.table_id:
|
||||
options['tid'] = int(self.table_id)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user