diff --git a/test/patch/sw_pg_patch_integrate_test.rb b/test/patch/sw_pg_patch_integrate_test.rb index 4d1a77b..a0e8398 100644 --- a/test/patch/sw_pg_patch_integrate_test.rb +++ b/test/patch/sw_pg_patch_integrate_test.rb @@ -64,8 +64,8 @@ def pg_dbo_integration_verification(sql, finished_spans) # test block in pg block_sql = nil - pg_client.exec(*args) do |sql| - block_sql = sql + pg_client.exec(*args) do |result| + block_sql = result end finished_spans = exporter.finished_spans