diff --git a/Gemfile.lock b/Gemfile.lock
index a2484da77..9a3ec97c6 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -497,7 +497,7 @@ GEM
rspec-support (~> 3.10)
rspec-support (3.10.2)
rszr (0.5.2)
- rubocop (1.16.0)
+ rubocop (1.18.3)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
diff --git a/app/assets/javascripts/app/controllers/agent_ticket_merge.coffee b/app/assets/javascripts/app/controllers/agent_ticket_merge.coffee
index 470b1fb9b..243d83527 100644
--- a/app/assets/javascripts/app/controllers/agent_ticket_merge.coffee
+++ b/app/assets/javascripts/app/controllers/agent_ticket_merge.coffee
@@ -49,7 +49,7 @@ class App.TicketMerge extends App.ControllerModal
radio: true
)
- content.delegate('[name="master_ticket_number"]', 'focus', (e) ->
+ content.delegate('[name="target_ticket_number"]', 'focus', (e) ->
$(e.target).parents().find('[name="radio"]').prop('checked', false)
)
@@ -57,7 +57,7 @@ class App.TicketMerge extends App.ControllerModal
if $(e.target).prop('checked')
ticket_id = $(e.target).val()
ticket = App.Ticket.fullLocal(ticket_id)
- $(e.target).parents().find('[name="master_ticket_number"]').val(ticket.number)
+ $(e.target).parents().find('[name="target_ticket_number"]').val(ticket.number)
)
content
@@ -66,7 +66,7 @@ class App.TicketMerge extends App.ControllerModal
@formDisable(e)
params = @formParam(e.target)
- if !params.master_ticket_number
+ if !params.target_ticket_number
alert(App.i18n.translateInline('%s required!', 'Ticket#'))
@formEnable(e)
return
@@ -75,30 +75,30 @@ class App.TicketMerge extends App.ControllerModal
@ajax(
id: 'ticket_merge'
type: 'PUT'
- url: "#{@apiPath}/ticket_merge/#{@ticket.id}/#{params.master_ticket_number}"
+ url: "#{@apiPath}/ticket_merge/#{@ticket.id}/#{params.target_ticket_number}"
processData: true,
success: (data, status, xhr) =>
if data['result'] is 'success'
# update collection
- App.Collection.load(type: 'Ticket', data: [data.master_ticket])
- App.Collection.load(type: 'Ticket', data: [data.slave_ticket])
+ App.Collection.load(type: 'Ticket', data: [data.target_ticket])
+ App.Collection.load(type: 'Ticket', data: [data.source_ticket])
# hide dialog
@close()
# view ticket
- @log 'notice', 'nav...', App.Ticket.find(data.master_ticket['id'])
- @navigate '#ticket/zoom/' + data.master_ticket['id']
+ @log 'notice', 'nav...', App.Ticket.find(data.target_ticket['id'])
+ @navigate '#ticket/zoom/' + data.target_ticket['id']
# notify UI
@notify
type: 'success'
- msg: App.i18n.translateContent('Ticket %s merged!', data.slave_ticket['number'])
+ msg: App.i18n.translateContent('Ticket %s merged!', data.source_ticket['number'])
timeout: 4000
- App.TaskManager.remove("Ticket-#{data.slave_ticket['id']}")
+ App.TaskManager.remove("Ticket-#{data.source_ticket['id']}")
else
diff --git a/app/assets/javascripts/app/models/chat.coffee b/app/assets/javascripts/app/models/chat.coffee
index be68edbf0..42846d4ca 100644
--- a/app/assets/javascripts/app/models/chat.coffee
+++ b/app/assets/javascripts/app/models/chat.coffee
@@ -1,5 +1,5 @@
class App.Chat extends App.Model
- @configure 'Chat', 'name', 'active', 'public', 'max_queue', 'block_ip', 'whitelisted_websites', 'block_country', 'note'
+ @configure 'Chat', 'name', 'active', 'public', 'max_queue', 'block_ip', 'allowed_websites', 'block_country', 'note'
@extend Spine.Model.Ajax
@url: @apiPath + '/chats'
@countries:
@@ -250,7 +250,7 @@ class App.Chat extends App.Model
{ name: 'note', display: 'Note', tag: 'textarea', limit: 250, null: true },
{ name: 'max_queue', display: 'Max. clients in waitlist', tag: 'input', default: 2 },
{ name: 'block_ip', display: 'Blocked IPs (separated by ;)', tag: 'input', default: '', null: true },
- { name: 'whitelisted_websites', display: 'Allow websites (separated by ;)', tag: 'input', default: '', null: true },
+ { name: 'allowed_websites', display: 'Allow websites (separated by ;)', tag: 'input', default: '', null: true },
{ name: 'block_country', display: 'Blocked countries', tag: 'column_select', multiple: true, null: true, default: '', options: @countries, seperator: ';' },
{ name: 'active', display: 'Active', tag: 'active', default: true },
{ name: 'created_by_id', display: 'Created by', relation: 'User', readonly: 1 },
diff --git a/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco b/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
index fb77665ac..31718fc95 100644
--- a/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
+++ b/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
@@ -1,10 +1,10 @@
\ No newline at end of file
+
diff --git a/app/controllers/tickets_controller.rb b/app/controllers/tickets_controller.rb
index 4d18d507c..00535cb05 100644
--- a/app/controllers/tickets_controller.rb
+++ b/app/controllers/tickets_controller.rb
@@ -385,39 +385,39 @@ class TicketsController < ApplicationController
# PUT /api/v1/ticket_merge/1/1
def ticket_merge
- # check master ticket
- ticket_master = Ticket.find_by(number: params[:master_ticket_number])
- if !ticket_master
+ # check target ticket
+ target_ticket = Ticket.find_by(number: params[:target_ticket_number])
+ if !target_ticket
render json: {
result: 'failed',
- message: 'No such master ticket number!',
+ message: 'No such target ticket number!',
}
return
end
- authorize!(ticket_master, :update?)
+ authorize!(target_ticket, :update?)
- # check slave ticket
- ticket_slave = Ticket.find_by(id: params[:slave_ticket_id])
- if !ticket_slave
+ # check source ticket
+ source_ticket = Ticket.find_by(id: params[:source_ticket_id])
+ if !source_ticket
render json: {
result: 'failed',
- message: 'No such slave ticket!',
+ message: 'No such source ticket!',
}
return
end
- authorize!(ticket_slave, :update?)
+ authorize!(source_ticket, :update?)
# merge ticket
- ticket_slave.merge_to(
- ticket_id: ticket_master.id,
+ source_ticket.merge_to(
+ ticket_id: target_ticket.id,
created_by_id: current_user.id,
)
# return result
render json: {
result: 'success',
- master_ticket: ticket_master.attributes,
- slave_ticket: ticket_slave.attributes,
+ target_ticket: target_ticket.attributes,
+ source_ticket: source_ticket.attributes,
}
end
diff --git a/app/jobs/trigger_webhook_job.rb b/app/jobs/trigger_webhook_job.rb
index 91e52e6dd..41644a1c0 100644
--- a/app/jobs/trigger_webhook_job.rb
+++ b/app/jobs/trigger_webhook_job.rb
@@ -2,7 +2,7 @@
class TriggerWebhookJob < ApplicationJob
- USER_ATTRIBUTE_BLACKLIST = %w[
+ USER_ATTRIBUTE_FILTER = %w[
last_login
login_failed
password
diff --git a/app/jobs/trigger_webhook_job/record_payload/base.rb b/app/jobs/trigger_webhook_job/record_payload/base.rb
index f672ec414..0d5d4b7de 100644
--- a/app/jobs/trigger_webhook_job/record_payload/base.rb
+++ b/app/jobs/trigger_webhook_job/record_payload/base.rb
@@ -2,7 +2,7 @@
class TriggerWebhookJob::RecordPayload::Base
- USER_ATTRIBUTE_BLACKLIST = %w[
+ USER_ATTRIBUTE_FILTER = %w[
last_login
login_failed
password
@@ -49,7 +49,7 @@ class TriggerWebhookJob::RecordPayload::Base
attributes = attributes_with_association_names(record)
return attributes if !record.instance_of?(::User)
- attributes.except(*USER_ATTRIBUTE_BLACKLIST)
+ attributes.except(*USER_ATTRIBUTE_FILTER)
end
def attributes_with_association_names(record)
diff --git a/app/models/chat.rb b/app/models/chat.rb
index bd93d766f..bd077b900 100644
--- a/app/models/chat.rb
+++ b/app/models/chat.rb
@@ -625,15 +625,15 @@ check if ip address is blocked for chat
check if website is allowed for chat
chat = Chat.find(123)
- chat.website_whitelisted?('zammad.org')
+ chat.website_allowed?('zammad.org')
=end
- def website_whitelisted?(website)
- return true if whitelisted_websites.blank?
+ def website_allowed?(website)
+ return true if allowed_websites.blank?
- whitelisted_websites.split(';').any? do |whitelisted_website|
- website.downcase.include?(whitelisted_website.downcase.strip)
+ allowed_websites.split(';').any? do |allowed_website|
+ website.downcase.include?(allowed_website.downcase.strip)
end
end
diff --git a/config/initializers/html_sanitizer.rb b/config/initializers/html_sanitizer.rb
index b3d9e8d53..8183f9a85 100644
--- a/config/initializers/html_sanitizer.rb
+++ b/config/initializers/html_sanitizer.rb
@@ -13,7 +13,7 @@ Rails.application.config.html_sanitizer_tags_quote_content = %w[
]
# only this tags are allowed
-Rails.application.config.html_sanitizer_tags_whitelist = %w[
+Rails.application.config.html_sanitizer_tags_allowlist = %w[
a abbr acronym address area article aside audio
b bdi bdo big blockquote br
canvas caption center cite code col colgroup command
@@ -26,7 +26,7 @@ Rails.application.config.html_sanitizer_tags_whitelist = %w[
]
# attributes allowed for tags
-Rails.application.config.html_sanitizer_attributes_whitelist = {
+Rails.application.config.html_sanitizer_attributes_allowlist = {
:all => %w[class dir lang title translate data-signature data-signature-id],
'a' => %w[href hreflang name rel data-target-id data-target-type data-mention-user-id],
'abbr' => %w[title],
@@ -52,7 +52,7 @@ Rails.application.config.html_sanitizer_attributes_whitelist = {
}
# only this css properties are allowed
-Rails.application.config.html_sanitizer_css_properties_whitelist = {
+Rails.application.config.html_sanitizer_css_properties_allowlist = {
'img' => %w[
width height
max-width min-width
@@ -110,7 +110,7 @@ Rails.application.config.html_sanitizer_css_properties_whitelist = {
],
}
-Rails.application.config.html_sanitizer_css_values_backlist = {
+Rails.application.config.html_sanitizer_css_values_blocklist = {
'div' => [
'color:white',
'color:black',
diff --git a/config/routes/ticket.rb b/config/routes/ticket.rb
index 7cc8a40bb..d62181f11 100644
--- a/config/routes/ticket.rb
+++ b/config/routes/ticket.rb
@@ -17,7 +17,7 @@ Zammad::Application.routes.draw do
match api_path + '/ticket_customer', to: 'tickets#ticket_customer', via: :get
match api_path + '/ticket_related/:ticket_id', to: 'tickets#ticket_related', via: :get
match api_path + '/ticket_recent', to: 'tickets#ticket_recent', via: :get
- match api_path + '/ticket_merge/:slave_ticket_id/:master_ticket_number', to: 'tickets#ticket_merge', via: :put
+ match api_path + '/ticket_merge/:source_ticket_id/:target_ticket_number', to: 'tickets#ticket_merge', via: :put
match api_path + '/ticket_stats', to: 'tickets#stats', via: :get
# ticket overviews
diff --git a/db/migrate/20120101000010_create_ticket.rb b/db/migrate/20120101000010_create_ticket.rb
index b01a96766..4d13807d5 100644
--- a/db/migrate/20120101000010_create_ticket.rb
+++ b/db/migrate/20120101000010_create_ticket.rb
@@ -479,7 +479,7 @@ class CreateTicket < ActiveRecord::Migration[4.2]
t.boolean :public, null: false, default: false
t.string :block_ip, limit: 5000, null: true
t.string :block_country, limit: 5000, null: true
- t.string :whitelisted_websites, limit: 5000, null: true
+ t.string :allowed_websites, limit: 5000, null: true
t.string :preferences, limit: 5000, null: true
t.integer :updated_by_id, null: false
t.integer :created_by_id, null: false
diff --git a/db/migrate/20200205000001_chat_add_allow_website.rb b/db/migrate/20200205000001_chat_add_allow_website.rb
index d8a7b8b11..fd1105622 100644
--- a/db/migrate/20200205000001_chat_add_allow_website.rb
+++ b/db/migrate/20200205000001_chat_add_allow_website.rb
@@ -6,6 +6,6 @@ class ChatAddAllowWebsite < ActiveRecord::Migration[5.1]
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')
- add_column :chats, :whitelisted_websites, :string, limit: 5000, null: true
+ add_column :chats, :whitelisted_websites, :string, limit: 5000, null: true # rubocop:disable Naming/InclusiveLanguage
end
end
diff --git a/db/migrate/20210712101116_inclusive_wording.rb b/db/migrate/20210712101116_inclusive_wording.rb
new file mode 100644
index 000000000..b82fdd976
--- /dev/null
+++ b/db/migrate/20210712101116_inclusive_wording.rb
@@ -0,0 +1,12 @@
+# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
+
+class InclusiveWording < ActiveRecord::Migration[6.0]
+ def up
+
+ # return if it's a new setup
+ return if !Setting.exists?(name: 'system_init_done')
+
+ rename_column :chats, :whitelisted_websites, :allowed_websites # rubocop:disable Naming/InclusiveLanguage
+ Chat.reset_column_information
+ end
+end
diff --git a/lib/html_sanitizer.rb b/lib/html_sanitizer.rb
index 664232b11..bfdd92955 100644
--- a/lib/html_sanitizer.rb
+++ b/lib/html_sanitizer.rb
@@ -22,14 +22,14 @@ satinize html string based on whiltelist
# config
tags_remove_content = Rails.configuration.html_sanitizer_tags_remove_content
tags_quote_content = Rails.configuration.html_sanitizer_tags_quote_content
- tags_whitelist = Rails.configuration.html_sanitizer_tags_whitelist
- attributes_whitelist = Rails.configuration.html_sanitizer_attributes_whitelist
- css_properties_whitelist = Rails.configuration.html_sanitizer_css_properties_whitelist
- css_values_blacklist = Rails.application.config.html_sanitizer_css_values_backlist
+ tags_allowlist = Rails.configuration.html_sanitizer_tags_allowlist
+ attributes_allowlist = Rails.configuration.html_sanitizer_attributes_allowlist
+ css_properties_allowlist = Rails.configuration.html_sanitizer_css_properties_allowlist
+ css_values_blocklist = Rails.application.config.html_sanitizer_css_values_blocklist
- # We whitelist yahoo_quoted because Yahoo Mail marks quoted email content using
+ # We allowlist yahoo_quoted because Yahoo Mail marks quoted email content using
# and we rely on this class to identify quoted messages
- classes_whitelist = %w[js-signatureMarker yahoo_quoted]
+ classes_allowlist = %w[js-signatureMarker yahoo_quoted]
attributes_2_css = %w[width height]
# remove tags with subtree
@@ -56,7 +56,7 @@ satinize html string based on whiltelist
scrubber_wipe = Loofah::Scrubber.new do |node|
# replace tags, keep subtree
- if tags_whitelist.exclude?(node.name)
+ if tags_allowlist.exclude?(node.name)
node.replace node.children.to_s
Loofah::Scrubber::STOP
end
@@ -75,7 +75,7 @@ satinize html string based on whiltelist
classes = node['class'].gsub(%r{\t|\n|\r}, '').split
class_new = ''
classes.each do |local_class|
- next if classes_whitelist.exclude?(local_class.to_s.strip)
+ next if classes_allowlist.exclude?(local_class.to_s.strip)
if class_new != ''
class_new += ' '
@@ -115,9 +115,9 @@ satinize html string based on whiltelist
next if !prop[0]
key = prop[0].strip
- next if css_properties_whitelist.exclude?(node.name)
- next if css_properties_whitelist[node.name].exclude?(key)
- next if css_values_blacklist[node.name]&.include?(local_pear.gsub(%r{[[:space:]]}, '').strip)
+ next if css_properties_allowlist.exclude?(node.name)
+ next if css_properties_allowlist[node.name].exclude?(key)
+ next if css_values_blocklist[node.name]&.include?(local_pear.gsub(%r{[[:space:]]}, '').strip)
style += "#{local_pear};"
end
@@ -137,10 +137,10 @@ satinize html string based on whiltelist
node.delete(attribute_name)
end
- # remove attributes if not whitelisted
+ # remove attributes if not allowlisted
node.each do |attribute, _value|
attribute_name = attribute.downcase
- next if attributes_whitelist[:all].include?(attribute_name) || attributes_whitelist[node.name]&.include?(attribute_name)
+ next if attributes_allowlist[:all].include?(attribute_name) || attributes_allowlist[node.name]&.include?(attribute_name)
node.delete(attribute)
end
diff --git a/lib/ldap/user.rb b/lib/ldap/user.rb
index ecf5220f8..e5db465b6 100644
--- a/lib/ldap/user.rb
+++ b/lib/ldap/user.rb
@@ -6,7 +6,7 @@ class Ldap
class User
include Ldap::FilterLookup
- BLACKLISTED = %i[
+ IGNORED_ATTRIBUTES = %i[
admincount
accountexpires
badpasswordtime
@@ -124,7 +124,7 @@ class Ldap
pre_merge_count = attributes.count
attributes.reverse_merge!(entry.to_h
- .except(*BLACKLISTED)
+ .except(*IGNORED_ATTRIBUTES)
.transform_values(&:first)
.compact)
diff --git a/lib/sessions/event/chat_status_customer.rb b/lib/sessions/event/chat_status_customer.rb
index 89efdeb0e..cb2ba1d80 100644
--- a/lib/sessions/event/chat_status_customer.rb
+++ b/lib/sessions/event/chat_status_customer.rb
@@ -72,7 +72,7 @@ return is sent as message back to peer
end
def blocked_origin?
- return false if current_chat.website_whitelisted?(origin)
+ return false if current_chat.website_allowed?(origin)
send_unavailable
true
diff --git a/spec/db/migrate/issue_2019_fix_double_domain_links_in_trigger_emails_spec.rb b/spec/db/migrate/issue_2019_fix_double_domain_links_in_trigger_emails_spec.rb
index 6d0b15545..397ed4430 100644
--- a/spec/db/migrate/issue_2019_fix_double_domain_links_in_trigger_emails_spec.rb
+++ b/spec/db/migrate/issue_2019_fix_double_domain_links_in_trigger_emails_spec.rb
@@ -8,14 +8,14 @@ RSpec.describe Issue2019FixDoubleDomainLinksInTriggerEmails, type: :db_migration
# rubocop:disable Lint/InterpolationCheck
let(:faulty_link) do
'
' \
- 'View ticket' \
- ''
+ 'View ticket' \
+ ''
end
let(:fixed_link) do
'
' \
- 'View ticket' \
- ''
+ 'View ticket' \
+ ''
end
# rubocop:enable Lint/InterpolationCheck
diff --git a/spec/jobs/trigger_webhook_job/record_payload/base_example.rb b/spec/jobs/trigger_webhook_job/record_payload/base_example.rb
index 3ad730333..d279f8b28 100644
--- a/spec/jobs/trigger_webhook_job/record_payload/base_example.rb
+++ b/spec/jobs/trigger_webhook_job/record_payload/base_example.rb
@@ -2,12 +2,12 @@
RSpec.shared_examples 'TriggerWebhookJob::RecordPayload backend' do |factory|
- describe 'const USER_ATTRIBUTE_BLACKLIST' do
+ describe 'const USER_ATTRIBUTE_FILTER' do
- subject(:blacklist) { described_class.const_get(:USER_ATTRIBUTE_BLACKLIST) }
+ subject(:filter) { described_class.const_get(:USER_ATTRIBUTE_FILTER) }
it 'contains sensitive attributes' do
- expect(blacklist).to include('password')
+ expect(filter).to include('password')
end
end
@@ -26,7 +26,7 @@ RSpec.shared_examples 'TriggerWebhookJob::RecordPayload backend' do |factory|
end
end
- it 'does not contain blacklisted User attributes' do
+ it 'does not contain filtered User attributes' do
expect(generate['created_by']).not_to have_key('password')
end
end
diff --git a/spec/lib/ldap/user_spec.rb b/spec/lib/ldap/user_spec.rb
index 09aac1eb2..fb2ef8174 100644
--- a/spec/lib/ldap/user_spec.rb
+++ b/spec/lib/ldap/user_spec.rb
@@ -131,7 +131,7 @@ RSpec.describe Ldap::User do
# selectable attribute
ldap_entry['mail'] = 'test@example.com'
- # blacklisted attribute
+ # filtered attribute
ldap_entry['lastlogon'] = DateTime.current
allow(mocked_ldap).to receive(:search).and_yield(ldap_entry)
diff --git a/spec/models/chat_spec.rb b/spec/models/chat_spec.rb
index 984d3a5e0..7fa5d2620 100644
--- a/spec/models/chat_spec.rb
+++ b/spec/models/chat_spec.rb
@@ -6,16 +6,16 @@ require 'models/concerns/has_xss_sanitized_note_examples'
RSpec.describe Chat, type: :model do
it_behaves_like 'HasXssSanitizedNote', model_factory: :chat
- describe 'website whitelisting' do
- let(:chat) { create(:chat, whitelisted_websites: 'zammad.org') }
+ describe 'website allowing' do
+ let(:chat) { create(:chat, allowed_websites: 'zammad.org') }
- it 'detects whitelisted website' do
- result = chat.website_whitelisted?('https://www.zammad.org')
+ it 'detects allowed website' do
+ result = chat.website_allowed?('https://www.zammad.org')
expect(result).to be true
end
- it 'detects non-whitelisted website' do
- result = chat.website_whitelisted?('https://www.zammad.com')
+ it 'detects non-allowed website' do
+ result = chat.website_allowed?('https://www.zammad.com')
expect(result).to be false
end
end
diff --git a/spec/requests/ticket_spec.rb b/spec/requests/ticket_spec.rb
index d4aeedced..08d83e18b 100644
--- a/spec/requests/ticket_spec.rb
+++ b/spec/requests/ticket_spec.rb
@@ -2022,7 +2022,7 @@ RSpec.describe 'Ticket', type: :request do
expect(response).to have_http_status(:ok)
expect(json_response).to be_a_kind_of(Hash)
expect(json_response['result']).to eq('failed')
- expect(json_response['message']).to eq('No such master ticket number!')
+ expect(json_response['message']).to eq('No such target ticket number!')
put "/api/v1/ticket_merge/#{ticket3.id}/#{ticket1.number}", params: {}, as: :json
expect(response).to have_http_status(:forbidden)
@@ -2040,7 +2040,7 @@ RSpec.describe 'Ticket', type: :request do
expect(response).to have_http_status(:ok)
expect(json_response).to be_a_kind_of(Hash)
expect(json_response['result']).to eq('success')
- expect(json_response['master_ticket']['id']).to eq(ticket2.id)
+ expect(json_response['target_ticket']['id']).to eq(ticket2.id)
end
it 'does ticket merge - change permission (07.02)' do
@@ -2070,7 +2070,7 @@ RSpec.describe 'Ticket', type: :request do
expect(response).to have_http_status(:ok)
expect(json_response).to be_a_kind_of(Hash)
expect(json_response['result']).to eq('success')
- expect(json_response['master_ticket']['id']).to eq(ticket2.id)
+ expect(json_response['target_ticket']['id']).to eq(ticket2.id)
end
it 'does ticket search sorted (08.01)' do
diff --git a/test/browser/agent_ticket_merge_test.rb b/test/browser/agent_ticket_merge_test.rb
index a4af9d397..181434749 100644
--- a/test/browser/agent_ticket_merge_test.rb
+++ b/test/browser/agent_ticket_merge_test.rb
@@ -62,7 +62,7 @@ class AgentTicketMergeTest < TestCase
modal_ready()
set(
- css: '.modal input[name="master_ticket_number"]',
+ css: '.modal input[name="target_ticket_number"]',
value: ticket1[:number],
)
@@ -116,7 +116,7 @@ class AgentTicketMergeTest < TestCase
modal_ready()
set(
- css: '.modal input[name="master_ticket_number"]',
+ css: '.modal input[name="target_ticket_number"]',
value: ticket3[:number],
)
click( css: '.modal button[type="submit"]' )