diff options
Diffstat (limited to 'spec/frontend/access_tokens/components/access_token_table_app_spec.js')
-rw-r--r-- | spec/frontend/access_tokens/components/access_token_table_app_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/access_tokens/components/access_token_table_app_spec.js b/spec/frontend/access_tokens/components/access_token_table_app_spec.js index 5236f38dc35..ae767f8b3f5 100644 --- a/spec/frontend/access_tokens/components/access_token_table_app_spec.js +++ b/spec/frontend/access_tokens/components/access_token_table_app_spec.js @@ -157,9 +157,9 @@ describe('~/access_tokens/components/access_token_table_app', () => { href: '/-/profile/personal_access_tokens/1/revoke', 'data-confirm': sprintf( __( - 'Are you sure you want to revoke this %{accessTokenType}? This action cannot be undone.', + 'Are you sure you want to revoke the %{accessTokenType} "%{tokenName}"? This action cannot be undone.', ), - { accessTokenType }, + { accessTokenType, tokenName: 'a' }, ), }); expect(button.props('category')).toBe('tertiary'); |