From f18a0384c1981cf743a1ff3881ef18b7f703036f Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Sat, 6 May 2023 10:02:30 +0100 Subject: [PATCH] ext/pgsql: fix pg_trace test when trace mode is supported. (#11191) --- ext/pgsql/tests/pg_trace.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pgsql/tests/pg_trace.phpt b/ext/pgsql/tests/pg_trace.phpt index 0917959bbef..16e483cc992 100644 --- a/ext/pgsql/tests/pg_trace.phpt +++ b/ext/pgsql/tests/pg_trace.phpt @@ -21,6 +21,6 @@ var_dump(pg_trace($tracefile, 'w', $db, 0)); $res = pg_query($db, 'select 1'); ?> ---EXPECT-- -pg_trace(): Argument #4 ($trace_mode) cannot set as trace is unsupported +--EXPECTF-- +pg_trace(): Argument #4 ($trace_mode) %s bool(true)