From 206ff2b83631efa6bee593f7259e01d0de13476e Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 15 Feb 2021 00:38:59 -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 7965e1bdc..ae4e1932d 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(28, @ip.network.prefix) + assert_equal(26, @ip.network.prefix) assert_equal(false, @ip.is_proxy?) assert_equal(49, @ip.latitude.round(0)) assert_equal(2, @ip.longitude.round(0))