diff options
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/test.c b/src/test/test.c index 0830f57946..8f6564c486 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1135,16 +1135,14 @@ test_geoip(void) /* and 17 observations in ZZ... */ for (i=110; i < 127; ++i) geoip_note_client_seen(GEOIP_CLIENT_CONNECT, i, now); - s = geoip_get_client_history_bridge(now+5*24*60*60, - GEOIP_CLIENT_CONNECT); + s = geoip_get_client_history(GEOIP_CLIENT_CONNECT); test_assert(s); test_streq("zz=24,ab=16,xy=8", s); tor_free(s); /* Now clear out all the AB observations. */ geoip_remove_old_clients(now-6000); - s = geoip_get_client_history_bridge(now+5*24*60*60, - GEOIP_CLIENT_CONNECT); + s = geoip_get_client_history(GEOIP_CLIENT_CONNECT); test_assert(s); test_streq("zz=24,xy=8", s); |