summaryrefslogtreecommitdiff
path: root/spec/frontend/access_tokens
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-11 21:08:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-11 21:08:09 +0000
commitfdc26e021b1e3eea4161bf6891f3a151fb7414b0 (patch)
treef06ce58930f41f8d031e827df198fed5dfab09be /spec/frontend/access_tokens
parent11df4bf91b8cf9ac7bb601241992e300eebf684c (diff)
downloadgitlab-ce-fdc26e021b1e3eea4161bf6891f3a151fb7414b0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/access_tokens')
-rw-r--r--spec/frontend/access_tokens/index_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/access_tokens/index_spec.js b/spec/frontend/access_tokens/index_spec.js
index 1d8ac7cec25..5f0a7dfc775 100644
--- a/spec/frontend/access_tokens/index_spec.js
+++ b/spec/frontend/access_tokens/index_spec.js
@@ -39,7 +39,7 @@ describe('access tokens', () => {
const input = document.createElement('input');
input.setAttribute('name', nameAttribute);
- input.setAttribute('data-js-name', fieldName);
+ input.dataset.jsName = fieldName;
input.setAttribute('id', idAttribute);
input.setAttribute('placeholder', 'Foo bar');
input.setAttribute('value', '1,2');