mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
This commit is contained in:
parent
187464a70d
commit
caac0f069d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue