From d1a38e8b8e4f474fc38c20cc9572e82adfa560ff Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Tue, 29 Aug 2023 12:04:13 +0200 Subject: [PATCH] Fix variable resource ids in odbc test Ids may vary when using persistent resources. We're not actually interested in the exact ids anyway. --- ext/odbc/tests/odbc_close_all_001.phpt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ext/odbc/tests/odbc_close_all_001.phpt b/ext/odbc/tests/odbc_close_all_001.phpt index 9641ac4bd7e..f5334ce7500 100644 --- a/ext/odbc/tests/odbc_close_all_001.phpt +++ b/ext/odbc/tests/odbc_close_all_001.phpt @@ -28,11 +28,11 @@ var_dump($result2); ?> --EXPECTF-- -resource(5) of type (odbc link) -resource(7) of type (odbc link persistent) -resource(8) of type (odbc result) -resource(9) of type (odbc result) -resource(5) of type (Unknown) -resource(7) of type (Unknown) -resource(8) of type (Unknown) -resource(9) of type (Unknown) +resource(%d) of type (odbc link) +resource(%d) of type (odbc link persistent) +resource(%d) of type (odbc result) +resource(%d) of type (odbc result) +resource(%d) of type (Unknown) +resource(%d) of type (Unknown) +resource(%d) of type (Unknown) +resource(%d) of type (Unknown)