summaryrefslogtreecommitdiffstats
path: root/geoip-tests.patch
blob: 335568b9cac6032d8d88492be95a20390690dd5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: tests/014.phpt
===================================================================
--- tests/014.phpt	(revision 311865)
+++ tests/014.phpt	(working copy)
@@ -7,17 +7,15 @@
 --FILE--
 <?php
 
-var_dump(geoip_time_zone_by_country_and_region('CA',''));
-var_dump(geoip_time_zone_by_country_and_region('CA',NULL));
-var_dump(geoip_time_zone_by_country_and_region('CA'));
+var_dump(geoip_time_zone_by_country_and_region('CA','AB'));
+var_dump(geoip_time_zone_by_country_and_region('CM',NULL));
 var_dump(geoip_time_zone_by_country_and_region(NULL,''));
 var_dump(geoip_time_zone_by_country_and_region(NULL,NULL));
 
 ?>
 --EXPECTF--
 string(%d) "America/%s"
-string(%d) "America/%s"
-string(%d) "America/%s"
+string(%d) "Africa/Lagos"
 
 Warning: geoip_time_zone_by_country_and_region(): You need to specify at least the country code. in %s on line %d
 bool(false)