diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2022-09-19 12:13:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 12:13:39 +0300 |
commit | caac0f069d03ff1496dbb816c0d6c22486080b47 (patch) | |
tree | 4a0b982549ffd4e55e2adc9bdc9855a318076e75 /core | |
parent | 187464a70dd8ce5e30e42dab395407c3cf38ee02 (diff) |
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js index 8d3f67bfa0d..b69054e647e 100644 --- a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js +++ b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js @@ -301,12 +301,12 @@ describe('OC.SystemTags.SystemTagsInputField tests', function() { it('formatResult renders tag name with visibility', function() { var opts = select2Stub.getCall(0).args[0]; var $el = $(opts.formatResult({id: '1', name: 'test', userVisible: false, userAssignable: false})); - expect($el.find('.label').text()).toEqual('test (invisible)'); + expect($el.find('.label').text()).toEqual('test (Invisible)'); }); it('formatSelection renders tag name with visibility', function() { var opts = select2Stub.getCall(0).args[0]; var $el = $(opts.formatSelection({id: '1', name: 'test', userVisible: false, userAssignable: false})); - expect($el.text().trim()).toEqual('test (invisible)'); + expect($el.text().trim()).toEqual('test (Invisible)'); }); describe('initSelection', function() { var fetchStub; |