summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2022-09-19 11:13:39 +0200
committerGitHub <noreply@github.com>2022-09-19 11:13:39 +0200
commitcaac0f069d03ff1496dbb816c0d6c22486080b47 (patch)
tree4a0b982549ffd4e55e2adc9bdc9855a318076e75 /core/js
parent187464a70dd8ce5e30e42dab395407c3cf38ee02 (diff)
downloadnextcloud-server-caac0f069d03ff1496dbb816c0d6c22486080b47.tar.gz
nextcloud-server-caac0f069d03ff1496dbb816c0d6c22486080b47.zip
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js4
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;