Commit 748b89ee authored by Payton Burdette's avatar Payton Burdette Committed by Filipa Lacerda

Remove token field from runners edit form

Add changelog entry

Remove unnecessary test checking for form value

Translations updated for gitlab.pot

Use proper format on changelog entry
parent 4576d55f
...@@ -25,11 +25,6 @@ ...@@ -25,11 +25,6 @@
.form-check .form-check
= f.check_box :locked, { class: 'form-check-input' } = f.check_box :locked, { class: 'form-check-input' }
%label.light{ for: :runner_locked }= _('When a runner is locked, it cannot be assigned to other projects') %label.light{ for: :runner_locked }= _('When a runner is locked, it cannot be assigned to other projects')
.form-group.row
= label_tag :token, class: 'col-form-label col-sm-2' do
= _('Token')
.col-sm-10
= f.text_field :token, class: 'form-control', readonly: true
.form-group.row .form-group.row
= label_tag :ip_address, class: 'col-form-label col-sm-2' do = label_tag :ip_address, class: 'col-form-label col-sm-2' do
= _('IP Address') = _('IP Address')
......
---
title: Remove token field from runners edit form
merge_request: 32231
author:
type: fixed
...@@ -12115,9 +12115,6 @@ msgstr "" ...@@ -12115,9 +12115,6 @@ msgstr ""
msgid "Toggles :%{name}: emoji award." msgid "Toggles :%{name}: emoji award."
msgstr "" msgstr ""
msgid "Token"
msgstr ""
msgid "Tomorrow" msgid "Tomorrow"
msgstr "" msgstr ""
......
...@@ -282,10 +282,6 @@ describe "Admin Runners" do ...@@ -282,10 +282,6 @@ describe "Admin Runners" do
visit admin_runner_path(runner) visit admin_runner_path(runner)
end end
describe 'runner info' do
it { expect(find_field('runner_token').value).to eq runner.token }
end
describe 'projects' do describe 'projects' do
it 'contains project names' do it 'contains project names' do
expect(page).to have_content(@project1.full_name) expect(page).to have_content(@project1.full_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment