From d478d72e0b04c3409dc1c9fc37e07a3d7ce5527a Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 8 Mar 2021 01:24:43 -0600 Subject: [PATCH] tests: fix ip geolocation test. --- test/unit/ip_geolocation_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/ip_geolocation_test.rb b/test/unit/ip_geolocation_test.rb index ae4e1932d..7965e1bdc 100644 --- a/test/unit/ip_geolocation_test.rb +++ b/test/unit/ip_geolocation_test.rb @@ -33,7 +33,7 @@ class IpGeolocationTest < ActiveSupport::TestCase should "work for a residential IP" do @ip = IpGeolocation.create_or_update!("2a01:0e35:2f22:e3d0::1") - assert_equal(26, @ip.network.prefix) + assert_equal(28, @ip.network.prefix) assert_equal(false, @ip.is_proxy?) assert_equal(49, @ip.latitude.round(0)) assert_equal(2, @ip.longitude.round(0))