From 149747e3fd9e1f2f2c8fc7afa235b10fa6773656 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 12 Oct 2022 18:02:41 -0700 Subject: [PATCH] Fix tests --- tests/014.phpt | 10 ++++------ tests/016.phpt | 9 --------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/tests/014.phpt b/tests/014.phpt index 40f3ef8..5465713 100644 --- a/tests/014.phpt +++ b/tests/014.phpt @@ -8,16 +8,14 @@ Checking timezone info with (some) empty fields --EXPECTF-- -string(%d) "America/%s" -bool(false) -string(%d) "Europe/%s" +string(16) "America/New_York" +string(13) "Europe/Berlin" Warning: geoip_time_zone_by_country_and_region(): You need to specify at least the country code. in %s on line %d bool(false) diff --git a/tests/016.phpt b/tests/016.phpt index 83c5250..0662615 100644 --- a/tests/016.phpt +++ b/tests/016.phpt @@ -8,25 +8,16 @@ Checking geoip_region_name_by_code with (some) empty fields --EXPECTF-- - -Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d -bool(false) - Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) bool(false) -Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d -bool(false) - Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d bool(false) bool(false)