tests: fix broken tests.

* Fix a Twitter test broken by a privated tweet.
* Fix an IP geolocation test broken by the ipregistry.co API returning new data.
This commit is contained in:
evazion
2021-11-02 04:42:07 -05:00
parent 9a9649bee8
commit dccc2edb75
2 changed files with 6 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ class IpGeolocationTest < ActiveSupport::TestCase
should "work for a proxy IP" do
@ip = IpGeolocation.create_or_update!("31.214.184.59")
assert_equal("Soluciones Corporativas IP (SCIP)", @ip.organization)
assert_equal("Soluciones Corporativas IP, SL", @ip.organization)
assert_equal(true, @ip.is_proxy?)
end