tests: fix broken tests.

This commit is contained in:
evazion
2022-01-06 00:35:47 -06:00
parent b254d6d9d9
commit edd0656b73
2 changed files with 5 additions and 5 deletions

View File

@@ -39,13 +39,13 @@ class IpGeolocationTest < ActiveSupport::TestCase
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))
assert_equal(44, @ip.latitude.round(0))
assert_equal(4, @ip.longitude.round(0))
assert_equal("Free SAS", @ip.organization)
assert_equal("Europe/Paris", @ip.time_zone)
assert_equal("EU", @ip.continent)
assert_equal("FR", @ip.country)
assert_equal("FR-IDF", @ip.region)
assert_equal("FR-OCC", @ip.region)
#assert_equal("Argenteuil", @ip.city)
assert_nil(@ip.carrier)
end