Improved system_id check.
This commit is contained in:
parent
e6b1935873
commit
e383dcb97a
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class OtrsImportTest < ActiveSupport::TestCase
|
|||
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' )
|
||||
|
|
Loading…
Reference in a new issue