diff --git a/test/integration/user_agent_test.rb b/test/integration/user_agent_test.rb index bb40ca000..47b8cd425 100644 --- a/test/integration/user_agent_test.rb +++ b/test/integration/user_agent_test.rb @@ -297,17 +297,17 @@ class UserAgentTest < ActiveSupport::TestCase # ftp / 200 result = UserAgent.request( - 'ftp://ftp.gwdg.de/msgs/banner.msg', + 'ftp://root.cern.ch/pub/README-root-build.txt', ) assert(result) assert_equal(true, result.success?) assert_equal('200', result.code) assert_equal(String, result.body.class) - assert(result.body =~ /Gesellschaft/i) + assert(result.body =~ /instructions/i) # ftp / 401 result = UserAgent.request( - 'ftp://ftp.gwdg.de/msgs/not_existing.msg', + 'ftp://root.cern.ch/pub/not_existing.msg', ) assert(result) assert_equal(false, result.success?)