mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-06 14:13:06 -06:00
Fixed API test cases for exec/call procedure.
This commit is contained in:
parent
2324337149
commit
f724578463
@ -28,7 +28,7 @@ class ProcedureExecSQLTestCase(BaseTestGenerator):
|
||||
('Fetch Procedure with arguments SQL to execute', dict(
|
||||
url='/browser/procedure/exec_sql/', with_args=True,
|
||||
args="arg1 bigint",
|
||||
expected_sql="{0} {1}.{2}( <arg1 bigint> )"))
|
||||
expected_sql="{0} {1}.{2}( <IN arg1 bigint> )"))
|
||||
]
|
||||
|
||||
def runTest(self):
|
||||
@ -41,9 +41,6 @@ class ProcedureExecSQLTestCase(BaseTestGenerator):
|
||||
message = "Procedures are not supported by PG < 110000."
|
||||
self.skipTest(message)
|
||||
|
||||
if self.with_args and self.server_version >= 140000:
|
||||
self.expected_sql = "{0} {1}.{2}( <IN arg1 bigint> )"
|
||||
|
||||
proc_name = "test_procedure_exec_sql_%s" % str(uuid.uuid4())[1:8]
|
||||
proc_info = funcs_utils.create_procedure(
|
||||
self.server, self.db_name, self.schema_name, proc_name,
|
||||
|
Loading…
Reference in New Issue
Block a user