From 0fd96bc897b64f9a644d305989b8be31f13dc6af Mon Sep 17 00:00:00 2001 From: Mikhail Galanin Date: Fri, 19 May 2023 19:27:21 +0100 Subject: [PATCH] Make test accept different outputs In the test, we check whether ini_cafile/ini_capath are empty or not. But these values can be affected by configuration and may be not empty. As long as this is not important for this test, let's keep the check of the structure of the array and allow different values for the properties --- ext/openssl/tests/openssl_get_cert_locations_basic.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/openssl/tests/openssl_get_cert_locations_basic.phpt b/ext/openssl/tests/openssl_get_cert_locations_basic.phpt index b9d273e5119d..e6f8046af0dd 100644 --- a/ext/openssl/tests/openssl_get_cert_locations_basic.phpt +++ b/ext/openssl/tests/openssl_get_cert_locations_basic.phpt @@ -22,7 +22,7 @@ array(8) { ["default_default_cert_area"]=> string(%d) "%s" ["ini_cafile"]=> - string(%d) "" + string(%d) "%S" ["ini_capath"]=> - string(%d) "" + string(%d) "%S" }