Maintenance: UserAgent integration test fails because previously non but now existing host URL 'existing.host'.

This commit is contained in:
Thorsten Eckel 2019-11-19 15:20:47 +01:00
parent 4cc3ed640b
commit 7ca577ab82

View file

@ -405,7 +405,7 @@ class UserAgentTest < ActiveSupport::TestCase
# get / 0
result = UserAgent.request(
'http://not.existing.host/test.php',
'http://not.existing.host.tld/test.php',
)
assert(result)
assert_equal(false, result.success?)
@ -414,7 +414,7 @@ class UserAgentTest < ActiveSupport::TestCase
# ftp / 0
result = UserAgent.request(
'ftp://not.existing.host/test.bin',
'ftp://not.existing.host.tld/test.bin',
)
assert(result)
assert_equal(false, result.success?)