From 07572282573343e703f0456c3b01b9c520c2d2bd Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 29 Nov 2016 11:30:50 +0100 Subject: [PATCH] Removed import check for FQDN. --- test/integration/otrs_import_test.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/integration/otrs_import_test.rb b/test/integration/otrs_import_test.rb index 194e402f1..95a596180 100644 --- a/test/integration/otrs_import_test.rb +++ b/test/integration/otrs_import_test.rb @@ -19,15 +19,12 @@ class OtrsImportTest < ActiveSupport::TestCase test 'check settings' do http = nil system_id = nil - fqdn = nil if ENV['IMPORT_OTRS_ENDPOINT'] =~ %r{^(http|https)://((.+?)\..+?)/} http = $1 - fqdn = $2 system_id = $3 system_id.gsub!(/[A-z]/, '') # strip chars end assert_equal( system_id, Setting.get('system_id'), 'system_id' ) - assert_equal( fqdn, Setting.get('fqdn'), 'fqdn' ) assert_equal( http, Setting.get('http_type'), 'http_type' ) assert_equal( 'Example Company', Setting.get('organization'), 'organization' ) end