tests: fix ip geolocation test.

This commit is contained in:
evazion
2021-03-08 01:24:43 -06:00
parent 1716cc5bf9
commit d478d72e0b

View File

@@ -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))