tests: fix broken tests.

This commit is contained in:
evazion
2022-09-24 03:34:57 -05:00
parent adba70a0de
commit fc122cbc5a
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ class IpGeolocationTest < ActiveSupport::TestCase
end
should "work for a bogon IP" do
@ip = IpGeolocation.create_or_update!("103.10.192.0")
@ip = IpGeolocation.create_or_update!("198.51.100.1")
assert_equal(true, @ip.is_proxy?)
end
end

View File

@@ -22,7 +22,7 @@ module Sources
end
should "get the artist name" do
assert_equal("紅眼兔", @post1.artist_name)
assert_equal("紅眼兔@姑且是個畫圖的", @post1.artist_name)
assert_equal("redeyehare", @post1.tag_name)
assert_equal("BOW99", @post4.tag_name)
end